Skip to content

Commit f54a9b1

Browse files
committed
fix(test): skip md editor tests in Firefox and non-Chrome playwright
1 parent 71971a2 commit f54a9b1

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

test/spec/md-editor-integ-test.js

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -205,6 +205,15 @@ define(function (require, exports, module) {
205205

206206
describe("livepreview:Markdown Editor", function () {
207207

208+
if (Phoenix.browser.desktop.isFirefox ||
209+
(Phoenix.isTestWindowPlaywright && !Phoenix.browser.desktop.isChromeBased)) {
210+
it("Markdown editor tests are disabled in Firefox/non-Chrome playwright", function () {
211+
// Firefox sandbox prevents service worker access from nested iframes.
212+
// Non-Chrome playwright doesn't spawn virtual server needed for live preview.
213+
});
214+
return;
215+
}
216+
208217
let testFilePath;
209218

210219
beforeAll(async function () {

0 commit comments

Comments
 (0)