test: Temporary disable widget test on firefox

This commit is contained in:
Valere
2025-04-29 16:08:45 +02:00
parent f92c683bc1
commit b68f4d5fa5

View File

@@ -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();
},
);
}); });