Bug 913609 - Fix intermittent failure in browser_contextui.js [r=jimm]
authorMatt Brubeck <mbrubeck@mozilla.com>
Tue, 28 Jan 2014 15:24:52 -0800
changeset 165638 5438722ee86ace4b0efc262fe12c591d71d0e4d1
parent 165637 4b86247721b2429a3bb0011f6efc009df668100d
child 165639 1c9aee5533209e111afe7940edc87886f0d13d6d
push id4629
push usermbrubeck@mozilla.com
push dateTue, 28 Jan 2014 23:24:44 +0000
treeherderfx-team@1c9aee553320 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjimm
bugs913609
milestone29.0a1
Bug 913609 - Fix intermittent failure in browser_contextui.js [r=jimm]
browser/metro/base/tests/mochitest/browser_context_ui.js
--- a/browser/metro/base/tests/mochitest/browser_context_ui.js
+++ b/browser/metro/base/tests/mochitest/browser_context_ui.js
@@ -240,17 +240,17 @@ gTests.push({
   }
 });
 
 gTests.push({
   desc: "Bug 933989 - New tab button in tab bar always sets focus to the url bar, triggering soft keyboard",
   run: function () {
     let mozTab = yield addTab("about:mozilla");
 
-    // addTab will dismiss navbar, but lets check anyway.
+    yield hideNavBar();
     ok(!ContextUI.navbarVisible, "navbar dismissed");
 
     BrowserUI.doCommand("cmd_newTab");
     let newTab = Browser.selectedTab;
     yield newTab.pageShowPromise;
 
     yield waitForCondition(() => ContextUI.navbarVisible);
     ok(ContextUI.navbarVisible, "navbar visible");