Bug 913609 - Fix intermittent failure in browser_contextui.js. r=jimm, a=test-only
authorMatt Brubeck <mbrubeck@mozilla.com>
Tue, 28 Jan 2014 15:24:52 -0800
changeset 169578 a3c5fba01aef368a1ab9d04514a607c55f8df8ab
parent 169577 d20c6ac43fcd701b457db99763cd4f88e0c5f683
child 169579 21ff475b03d754f116c87ac504e5bb88cca9c981
push id5104
push userryanvm@gmail.com
push dateWed, 29 Jan 2014 14:26:00 +0000
treeherdermozilla-aurora@21ff475b03d7 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjimm, test-only
bugs913609
milestone28.0a2
Bug 913609 - Fix intermittent failure in browser_contextui.js. r=jimm, a=test-only
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
@@ -233,17 +233,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");