adjust time out

This commit is contained in:
Valere
2026-04-22 19:30:02 +02:00
parent 78e7adc4c6
commit 4d8e4c66eb
4 changed files with 12 additions and 4 deletions

View File

@@ -26,6 +26,8 @@ modePairs.forEach(([rtcMode1, rtcMode2]) => {
"The is test is not working on firefox CI environment. No mic/audio device inputs so cam/mic are disabled",
);
test.slow();
const [florian, timo] = await Promise.all([
addUser("florian", HOST1),
addUser("timo", HOST2),

View File

@@ -76,7 +76,7 @@ widgetTest("Create and join a group call", async ({ addUser, browserName }) => {
.locator('iframe[title="Element Call"]')
.contentFrame();
await expect(frame.getByTestId("videoTile")).toHaveCount(5, {
timeout: 10000,
timeout: 15000,
});
for (const participant of [valere, timo, robin, halfshot, florian]) {
// Check the names are correct

View File

@@ -256,8 +256,12 @@ export class TestHelpers {
page: Page,
mode: RtcMode,
): Promise<void> {
await page.getByRole("button", { name: "Video call" }).click();
await page.getByRole("menuitem", { name: "Element Call" }).click();
await page.getByRole("button", { name: "Video call" }).click({
timeout: 5000,
});
await page.getByRole("menuitem", { name: "Element Call" }).click({
timeout: 5000,
});
await TestHelpers.setEmbeddedElementCallRtcMode(page, mode);
await page.getByRole("button", { name: "Close lobby" }).click();