From 6a6e603450f87938669b74796b418a089baa2443 Mon Sep 17 00:00:00 2001 From: Florian Duros Date: Thu, 4 Jun 2026 16:24:49 +0200 Subject: [PATCH] test: fix notification toast order in custom section to fix flacky tests (#33749) --- .../room-list-panel/room-list-custom-sections.spec.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/web/playwright/e2e/left-panel/room-list-panel/room-list-custom-sections.spec.ts b/apps/web/playwright/e2e/left-panel/room-list-panel/room-list-custom-sections.spec.ts index 356c129e72..b48345387f 100644 --- a/apps/web/playwright/e2e/left-panel/room-list-panel/room-list-custom-sections.spec.ts +++ b/apps/web/playwright/e2e/left-panel/room-list-panel/room-list-custom-sections.spec.ts @@ -43,8 +43,8 @@ test.describe("Room list custom sections", () => { test.beforeEach(async ({ page, app, user }) => { // The toasts are displayed above the search section - await rejectToast(page, "Notifications"); await rejectToast(page, "Verify this device"); + await rejectToast(page, "Notifications"); // Focus the user menu to avoid hover decoration await page.getByRole("button", { name: "User menu" }).focus();