Update a tohaveCount() timeout that made a test flak 2 times

This commit is contained in:
Valere
2026-04-22 14:14:54 +02:00
parent 2d9802b6f5
commit f9dc4d9b82

View File

@@ -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();