From 09092e97c83a0cdf9b0a6c83997e2e41ca7fcd9f Mon Sep 17 00:00:00 2001 From: Valere Date: Wed, 25 Mar 2026 12:15:12 +0100 Subject: [PATCH] fix error in test --- playwright/widget/pip-call-button-interaction.test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/playwright/widget/pip-call-button-interaction.test.ts b/playwright/widget/pip-call-button-interaction.test.ts index 62b27331..5e59f822 100644 --- a/playwright/widget/pip-call-button-interaction.test.ts +++ b/playwright/widget/pip-call-button-interaction.test.ts @@ -35,7 +35,7 @@ widgetTest("Footer interaction in PiP", async ({ addUser, browserName }) => { await TestHelpers.joinCallFromLobby(valere.page); // wait a bit so that the PIP has rendered - await valere.page.waitForTimeout(1000); + await valere.page.waitForTimeout(600); // Switch to the other room, the call should go to PIP await TestHelpers.switchToRoomNamed(valere.page, "OtherRoom"); @@ -66,7 +66,7 @@ widgetTest("Footer interaction in PiP", async ({ addUser, browserName }) => { await iFrame.getByTestId("videoTile").hover(); await expect(audioBtn).toHaveAccessibleName("Unmute microphone"); - await expect(audioBtn).toBeChecked(); + await expect(audioBtn).not.toBeChecked(); await expect(videoBtn).toHaveAccessibleName("Start video"); await expect(videoBtn).not.toBeChecked(); }