Stabilize the guide toolbox drawer test
Some checks failed
Validate Sokko G / validate (push) Failing after 12m39s
Some checks failed
Validate Sokko G / validate (push) Failing after 12m39s
This commit is contained in:
parent
ce58a21ba7
commit
7691a1dda8
1 changed files with 1 additions and 0 deletions
|
|
@ -90,6 +90,7 @@ async function copyVisibleResults(page) {
|
|||
async function openDrawer(page) {
|
||||
const drawer = page.locator("#toolbox-drawer");
|
||||
if (!await drawer.locator(".drawer-panel").isVisible()) {
|
||||
await page.locator(".topbar-actions").waitFor();
|
||||
const compactTrigger = page.getByRole("tab", { name: "Toolbox", exact: true });
|
||||
if (await compactTrigger.isVisible()) await compactTrigger.click();
|
||||
else await page.getByRole("button", { name: "Afficher la toolbox", exact: true }).click();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue