mirror of
https://github.com/vector-im/element-call.git
synced 2026-05-01 09:54:37 +00:00
adjust timeouts
This commit is contained in:
@@ -115,8 +115,12 @@ test("One to One rejoin after improper leave does not crash EC", async ({
|
|||||||
await guestPage.getByTestId("lobby_joinCall").click();
|
await guestPage.getByTestId("lobby_joinCall").click();
|
||||||
|
|
||||||
// We cannot use the `expectVideoTilesCount` helper here since one of them is expected to show waiting for media
|
// 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(page.getByTestId("videoTile")).toHaveCount(3, {
|
||||||
await expect(guestPage.getByTestId("videoTile")).toHaveCount(2);
|
timeout: 10000,
|
||||||
|
});
|
||||||
|
await expect(guestPage.getByTestId("videoTile")).toHaveCount(2, {
|
||||||
|
timeout: 10000,
|
||||||
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
function isStickySend(url: string): boolean {
|
function isStickySend(url: string): boolean {
|
||||||
|
|||||||
@@ -52,7 +52,7 @@ widgetTest("Sharing screen in group call", async ({ addUser, browserName }) => {
|
|||||||
|
|
||||||
// Expect 3 video tiles
|
// Expect 3 video tiles
|
||||||
await expect(frame.locator("video")).toHaveCount(3, {
|
await expect(frame.locator("video")).toHaveCount(3, {
|
||||||
timeout: 5000,
|
timeout: 10000,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user