mirror of
https://github.com/vector-im/element-web.git
synced 2025-12-10 03:41:09 +01:00
Fix flake
This commit is contained in:
parent
ac8814f85e
commit
fdf366cb59
@ -462,6 +462,9 @@ test.describe("Element Call", () => {
|
|||||||
const callFrame = page.frame({ url: frameUrlStr });
|
const callFrame = page.frame({ url: frameUrlStr });
|
||||||
await callFrame.getByRole("button", { name: "Join Call" }).click();
|
await callFrame.getByRole("button", { name: "Join Call" }).click();
|
||||||
await expect(callFrame.getByText("In call", { exact: true })).toBeVisible();
|
await expect(callFrame.getByText("In call", { exact: true })).toBeVisible();
|
||||||
|
|
||||||
|
// Wait for the room lsit to update before we switch away.
|
||||||
|
await expect(await page.getByTestId("notification-decoration")).toBeVisible();
|
||||||
}
|
}
|
||||||
|
|
||||||
test("should be able to switch rooms and have the call persist", async ({ page, user, room, app }) => {
|
test("should be able to switch rooms and have the call persist", async ({ page, user, room, app }) => {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user