diff --git a/playwright/spa-call-sticky.spec.ts b/playwright/spa-call-sticky.spec.ts index 328a65da..1dbda735 100644 --- a/playwright/spa-call-sticky.spec.ts +++ b/playwright/spa-call-sticky.spec.ts @@ -115,8 +115,12 @@ test("One to One rejoin after improper leave does not crash EC", async ({ await guestPage.getByTestId("lobby_joinCall").click(); // We cannot use the `expectVideoTilesCount` helper here since one of them is expected to show waiting for media - await expect(page.getByTestId("videoTile")).toHaveCount(3); - await expect(guestPage.getByTestId("videoTile")).toHaveCount(2); + await expect(page.getByTestId("videoTile")).toHaveCount(3, { + timeout: 10000, + }); + await expect(guestPage.getByTestId("videoTile")).toHaveCount(2, { + timeout: 10000, + }); }); function isStickySend(url: string): boolean { diff --git a/playwright/widget/screen-share.test.ts b/playwright/widget/screen-share.test.ts index f8437e1f..c6b03c3f 100644 --- a/playwright/widget/screen-share.test.ts +++ b/playwright/widget/screen-share.test.ts @@ -52,7 +52,7 @@ widgetTest("Sharing screen in group call", async ({ addUser, browserName }) => { // Expect 3 video tiles await expect(frame.locator("video")).toHaveCount(3, { - timeout: 5000, + timeout: 10000, }); }