skip firefox

This commit is contained in:
Valere
2026-01-09 15:39:53 +01:00
parent 8827ff2ea6
commit cf579638fd
2 changed files with 100 additions and 85 deletions

View File

@@ -67,8 +67,8 @@ export default defineConfig({
firefoxUserPrefs: {
"permissions.default.microphone": 1,
"permissions.default.camera": 1,
"media.navigator.streams.fake": true,
"media.navigator.permission.disabled": true,
// "media.navigator.streams.fake": true,
// "media.navigator.permission.disabled": true,
},
},
},

View File

@@ -11,7 +11,14 @@ import { widgetTest } from "../fixtures/widget-user.ts";
widgetTest.use({ callType: "dm" });
widgetTest("Start a new voice call in DM as widget", async ({ asWidget }) => {
widgetTest(
"Start a new voice call in DM as widget",
async ({ asWidget, browserName }) => {
test.skip(
browserName === "firefox",
"The is test is not working on firefox CI environment. No mic/audio device inputs so cam/mic are disabled",
);
test.slow(); // Triples the timeout
const { brooks, whistler } = asWidget;
@@ -97,13 +104,21 @@ widgetTest("Start a new voice call in DM as widget", async ({ asWidget }) => {
}
// The widget should be closed on both sides and the timeline should be back on screen
await expect(whistler.page.locator(".mx_BasicMessageComposer")).toBeVisible();
await expect(
whistler.page.locator(".mx_BasicMessageComposer"),
).toBeVisible();
await expect(brooks.page.locator(".mx_BasicMessageComposer")).toBeVisible();
});
},
);
widgetTest(
"Start a new video call in DM as widget",
async ({ asWidget, browserName }) => {
test.skip(
browserName === "firefox",
"The is test is not working on firefox CI environment. No mic/audio device inputs so cam/mic are disabled",
);
test.slow(); // Triples the timeout
const { brooks, whistler } = asWidget;