зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1721938 - [devtools] wait before clicking on angle swatch in browser_rules_cycle-angle.js r=Honza
Differential Revision: https://phabricator.services.mozilla.com/D123955
This commit is contained in:
Родитель
ce2aeb6bf8
Коммит
b339da2d6d
|
@ -88,6 +88,15 @@ async function checkAngleCyclingPersist(inspector, view) {
|
|||
}
|
||||
|
||||
async function checkSwatchShiftClick(container, win, expectedValue, comment) {
|
||||
// Wait for 500ms before attempting a click to workaround frequent
|
||||
// intermittents.
|
||||
//
|
||||
// See intermittent bug at https://bugzilla.mozilla.org/show_bug.cgi?id=1721938
|
||||
// See potentially related bugs:
|
||||
// - browserLoaded + synthesizeMouse timeouts https://bugzilla.mozilla.org/show_bug.cgi?id=1727749
|
||||
// - mochitest general synthesize events issue https://bugzilla.mozilla.org/show_bug.cgi?id=1720248
|
||||
await wait(500);
|
||||
|
||||
const swatch = container.querySelector(".ruleview-angleswatch");
|
||||
const valueNode = container.querySelector(".ruleview-angle");
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче