Skip to content

Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.

tests: mark certain tests as failing on Firefox Headed (#14286)

Andrey Lushnikov34429a222e4f
diff --git a/tests/library/capabilities.spec.ts b/tests/library/capabilities.spec.ts
index e9bb8ad537..f57168b994 100644
--- a/tests/library/capabilities.spec.ts
+++ b/tests/library/capabilities.spec.ts
@@ -107,7 +107,7 @@ it('should support webgl @smoke', async ({ page, browserName, headless }) => {
it('should support webgl 2 @smoke', async ({ page, browserName, headless }) => {
it.skip(browserName === 'webkit', 'WebKit doesn\'t have webgl2 enabled yet upstream.');
- it.fixme(browserName === 'firefox' && headless);
+ it.fixme(browserName === 'firefox');
it.fixme(browserName === 'chromium' && !headless, 'chromium doesn\'t like webgl2 when running under xvfb');
const hasWebGL2 = await page.evaluate(() => {
diff --git a/tests/library/defaultbrowsercontext-2.spec.ts b/tests/library/defaultbrowsercontext-2.spec.ts
index 42da12dbfa..90e3162982 100644
--- a/tests/library/defaultbrowsercontext-2.spec.ts
+++ b/tests/library/defaultbrowsercontext-2.spec.ts
@@ -97,6 +97,7 @@ it('should accept userDataDir', async ({ createUserDataDir, browserType }) => {
});
it('should restore state from userDataDir', async ({ browserType, server, createUserDataDir, isMac, browserName }) => {
+ it.fixme(browserName === 'firefox', 'https://github.com/microsoft/playwright/issues/12632');
it.slow();
const userDataDir = await createUserDataDir();
diff --git a/tests/library/tracing.spec.ts b/tests/library/tracing.spec.ts
index b5ac67cb4d..5863854635 100644
--- a/tests/library/tracing.spec.ts
+++ b/tests/library/tracing.spec.ts
@@ -22,6 +22,9 @@ import { parseTrace } from '../config/utils';
test.skip(({ trace }) => trace === 'on');
+// https://github.com/microsoft/playwright/issues/14285
+test.fixme(({ browserName, headless }) => browserName === 'firefox' && !headless);
+
test('should collect trace with resources, but no js', async ({ context, page, server }, testInfo) => {
await context.tracing.start({ screenshots: true, snapshots: true });
await page.goto(server.PREFIX + '/frames/frame.html');