test: target visible layout preview

This commit is contained in:
Thomas Camlong authored and ajnart committed 2026-08-13 19:52:27 +02:00
1 parent fb18ac8fc5
commit b7693c4238
1 file changed
+1 -1
+1 -1
View File
@@ -367,7 +367,7 @@ describe("Board grid", () => {
expect(gridLayoutsOverlap(persistedFirstLayout, persistedSecondLayout)).toBe(false);
await page.goto(`${baseUrl}/boards/${fixture.boardName}/settings?tab=layout`);
const gutterPreview = page.getByLabel("Dashboard layout preview");
const gutterPreview = page.getByLabel("Dashboard layout preview").filter({ visible: true });
await expect(gutterPreview).toBeVisible();
const rightGutterSwitch = page.getByRole("switch", { name: "Right sidebar" });
await rightGutterSwitch.check();