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 181648 5438722ee86ace4b0efc262fe12c591d71d0e4d1
parent 181647 4b86247721b2429a3bb0011f6efc009df668100d
child 181649 1c9aee5533209e111afe7940edc87886f0d13d6d
push id3343
push userffxbld
push dateMon, 17 Mar 2014 21:55:32 +0000
treeherdermozilla-beta@2f7d3415f79f [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjimm
bugs913609
milestone29.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
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");