mirror of
https://github.com/vector-im/element-call.git
synced 2026-08-05 19:59:20 +00:00
Update a tohaveCount() timeout that made a test flak 2 times
This commit is contained in:
@@ -73,7 +73,9 @@ widgetTest("Create and join a group call", async ({ addUser, browserName }) => {
|
|||||||
const frame = user.page
|
const frame = user.page
|
||||||
.locator('iframe[title="Element Call"]')
|
.locator('iframe[title="Element Call"]')
|
||||||
.contentFrame();
|
.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]) {
|
for (const participant of [valere, timo, robin, halfshot, florian]) {
|
||||||
// Check the names are correct
|
// Check the names are correct
|
||||||
await expect(frame.getByText(participant.displayName)).toBeVisible();
|
await expect(frame.getByText(participant.displayName)).toBeVisible();
|
||||||
|
|||||||
Reference in New Issue
Block a user