From fdf366cb597e9391b1fef49a7f26e30200fd417b Mon Sep 17 00:00:00 2001 From: Half-Shot Date: Fri, 28 Nov 2025 16:57:06 +0000 Subject: [PATCH] Fix flake --- playwright/e2e/voip/element-call.spec.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/playwright/e2e/voip/element-call.spec.ts b/playwright/e2e/voip/element-call.spec.ts index 1b3b942440..f8190133ea 100644 --- a/playwright/e2e/voip/element-call.spec.ts +++ b/playwright/e2e/voip/element-call.spec.ts @@ -462,6 +462,9 @@ test.describe("Element Call", () => { const callFrame = page.frame({ url: frameUrlStr }); await callFrame.getByRole("button", { name: "Join Call" }).click(); await expect(callFrame.getByText("In call", { exact: true })).toBeVisible(); + + // Wait for the room lsit to update before we switch away. + await expect(await page.getByTestId("notification-decoration")).toBeVisible(); } test("should be able to switch rooms and have the call persist", async ({ page, user, room, app }) => {