mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-23 12:51:06 +00:00
Bug 1901955 - [devtools] Wait until all editors are available in browser_styleeditor_syncAddRule r=devtools-reviewers,nchevobbe
Depends on D215322 Differential Revision: https://phabricator.services.mozilla.com/D215326
This commit is contained in:
parent
84c45e186d
commit
b68f34218e
@ -21,6 +21,8 @@ add_task(async function () {
|
||||
|
||||
const { ui } = await openStyleEditor();
|
||||
|
||||
await waitUntil(() => ui.editors.length > 1);
|
||||
|
||||
info("Selecting the second editor");
|
||||
await ui.selectStyleSheet(ui.editors[1].styleSheet);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user