mirror of
https://github.com/vector-im/element-call.git
synced 2026-09-01 21:25:18 +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";
|
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(
|
test.skip(
|
||||||
browserName === "firefox",
|
browserName === "firefox",
|
||||||
"This test is not working on firefox, after hangup brooks is locked in a strange state with a blank widget",
|
"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")
|
.getByTestId("incall_leave")
|
||||||
.click();
|
.click();
|
||||||
|
|
||||||
await expect(whistler.page.locator(".mx_BasicMessageComposer")).toBeVisible();
|
await expect(
|
||||||
await expect(brooks.page.locator(".mx_BasicMessageComposer")).toBeVisible();
|
whistler.page.locator(".mx_BasicMessageComposer"),
|
||||||
|
).toBeVisible();
|
||||||
|
await expect(
|
||||||
|
brooks.page.locator(".mx_BasicMessageComposer"),
|
||||||
|
).toBeVisible();
|
||||||
|
},
|
||||||
|
);
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user