mirror of
https://github.com/vector-im/element-call.git
synced 2026-10-13 23:35:51 +00:00
test: Temporary disable widget test on firefox
This commit is contained in:
@@ -9,7 +9,12 @@ import { expect, test } from "@playwright/test";
|
||||
|
||||
import { widgetTest } from "../fixtures/widget-user.ts";
|
||||
|
||||
widgetTest("Start a new call as widget", async ({ asWidget, browserName }) => {
|
||||
test.describe("chromium only", () => {
|
||||
test.skip(({ browserName }) => browserName !== "chromium", "Chromium only!");
|
||||
|
||||
widgetTest(
|
||||
"Start a new call as widget",
|
||||
async ({ asWidget, browserName }) => {
|
||||
test.skip(
|
||||
browserName === "firefox",
|
||||
"This test is not working on firefox, after hangup brooks is locked in a strange state with a blank widget",
|
||||
@@ -92,6 +97,12 @@ widgetTest("Start a new call as widget", async ({ asWidget, browserName }) => {
|
||||
.getByTestId("incall_leave")
|
||||
.click();
|
||||
|
||||
await expect(whistler.page.locator(".mx_BasicMessageComposer")).toBeVisible();
|
||||
await expect(brooks.page.locator(".mx_BasicMessageComposer")).toBeVisible();
|
||||
await expect(
|
||||
whistler.page.locator(".mx_BasicMessageComposer"),
|
||||
).toBeVisible();
|
||||
await expect(
|
||||
brooks.page.locator(".mx_BasicMessageComposer"),
|
||||
).toBeVisible();
|
||||
},
|
||||
);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user