test: Temporary disable widget test on firefox

This commit is contained in:
Valere
2025-04-29 16:16:55 +02:00
parent f92c683bc1
commit b68f4d5fa5
+14 -3
View File
@@ -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();
},
);
});