mirror of
https://github.com/vector-im/element-call.git
synced 2026-08-05 19:59:20 +00:00
adjust time out
This commit is contained in:
@@ -91,7 +91,9 @@ export const widgetTest = test.extend<MyFixtures>({
|
|||||||
|
|
||||||
await ewPage1
|
await ewPage1
|
||||||
.getByRole("button", { name: "Invite to this room", exact: true })
|
.getByRole("button", { name: "Invite to this room", exact: true })
|
||||||
.click();
|
.click({
|
||||||
|
timeout: 10000,
|
||||||
|
});
|
||||||
await expect(
|
await expect(
|
||||||
ewPage1.getByRole("heading", { name: "Invite to Welcome Room" }),
|
ewPage1.getByRole("heading", { name: "Invite to Welcome Room" }),
|
||||||
).toBeVisible();
|
).toBeVisible();
|
||||||
|
|||||||
@@ -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",
|
"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([
|
const [florian, timo] = await Promise.all([
|
||||||
addUser("florian", HOST1),
|
addUser("florian", HOST1),
|
||||||
addUser("timo", HOST2),
|
addUser("timo", HOST2),
|
||||||
|
|||||||
@@ -76,7 +76,7 @@ widgetTest("Create and join a group call", async ({ addUser, browserName }) => {
|
|||||||
.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,
|
timeout: 15000,
|
||||||
});
|
});
|
||||||
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
|
||||||
|
|||||||
@@ -256,8 +256,12 @@ export class TestHelpers {
|
|||||||
page: Page,
|
page: Page,
|
||||||
mode: RtcMode,
|
mode: RtcMode,
|
||||||
): Promise<void> {
|
): Promise<void> {
|
||||||
await page.getByRole("button", { name: "Video call" }).click();
|
await page.getByRole("button", { name: "Video call" }).click({
|
||||||
await page.getByRole("menuitem", { name: "Element Call" }).click();
|
timeout: 5000,
|
||||||
|
});
|
||||||
|
await page.getByRole("menuitem", { name: "Element Call" }).click({
|
||||||
|
timeout: 5000,
|
||||||
|
});
|
||||||
|
|
||||||
await TestHelpers.setEmbeddedElementCallRtcMode(page, mode);
|
await TestHelpers.setEmbeddedElementCallRtcMode(page, mode);
|
||||||
await page.getByRole("button", { name: "Close lobby" }).click();
|
await page.getByRole("button", { name: "Close lobby" }).click();
|
||||||
|
|||||||
Reference in New Issue
Block a user