mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 897175 - Intermittent failure in browser_findbar.js
This commit is contained in:
parent
6b10e40465
commit
a4c3179efa
@ -47,11 +47,13 @@ gTests.push({
|
||||
is(Elements.findbar.isShowing, false, "Find bar is still hidden");
|
||||
|
||||
EventUtils.synthesizeKey("f", { accelKey: true });
|
||||
yield waitForEvent(Elements.navbar, "transitionend");
|
||||
yield Promise.all(waitForEvent(Elements.navbar, "transitionend"),
|
||||
waitForEvent(Elements.findbar, "transitionend"));
|
||||
is(ContextUI.navbarVisible, false, "Navbar is hidden");
|
||||
is(Elements.findbar.isShowing, true, "Findbar is visible");
|
||||
|
||||
yield showNavBar();
|
||||
yield Promise.all(showNavBar(),
|
||||
waitForEvent(Elements.findbar, "transitionend"));
|
||||
is(ContextUI.navbarVisible, true, "Navbar is visible again");
|
||||
is(Elements.findbar.isShowing, false, "Find bar is hidden again");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user