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:
Julian Descottes 2024-07-01 09:47:40 +00:00
parent 84c45e186d
commit b68f34218e

View File

@ -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);