mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-17 15:25:52 +00:00
Bug 960999 - Fix for random test failure in browser_form_selects.js. r=mbrubeck
This commit is contained in:
parent
a3ac567800
commit
a474dd6898
@ -35,7 +35,9 @@ gTests.push({
|
||||
sendNativeTap(node);
|
||||
}
|
||||
|
||||
yield waitForMs(100);
|
||||
yield waitForCondition2(function () {
|
||||
return Browser.selectedTab.browser.contentWindow.document.getElementById("opt9").selected;
|
||||
}, "waiting for last option to select");
|
||||
|
||||
// check the menu state
|
||||
for (let node of SelectHelperUI._listbox.childNodes) {
|
||||
@ -53,7 +55,9 @@ gTests.push({
|
||||
sendNativeTap(node);
|
||||
}
|
||||
|
||||
yield waitForMs(100);
|
||||
yield waitForCondition2(function () {
|
||||
return !Browser.selectedTab.browser.contentWindow.document.getElementById("opt9").selected;
|
||||
}, "waiting for last option to deselect");
|
||||
|
||||
// check the menu state
|
||||
for (let node of SelectHelperUI._listbox.childNodes) {
|
||||
|
Loading…
Reference in New Issue
Block a user