From f9dc4d9b82c17fcadd711c4088b64fd677632b8b Mon Sep 17 00:00:00 2001 From: Valere Date: Wed, 22 Apr 2026 14:14:54 +0200 Subject: [PATCH] Update a tohaveCount() timeout that made a test flak 2 times --- playwright/widget/huddle-call.test.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/playwright/widget/huddle-call.test.ts b/playwright/widget/huddle-call.test.ts index 262b66db..ce4b9be7 100644 --- a/playwright/widget/huddle-call.test.ts +++ b/playwright/widget/huddle-call.test.ts @@ -73,7 +73,9 @@ widgetTest("Create and join a group call", async ({ addUser, browserName }) => { const frame = user.page .locator('iframe[title="Element Call"]') .contentFrame(); - await expect(frame.getByTestId("videoTile")).toHaveCount(5); + await expect(frame.getByTestId("videoTile")).toHaveCount(5, { + timeout: 10000, + }); for (const participant of [valere, timo, robin, halfshot, florian]) { // Check the names are correct await expect(frame.getByText(participant.displayName)).toBeVisible();