Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.
TypeScript automationchromechromiume2e-testingelectronend-to-end-testingfirefoxjavascriptplaywrighttesttest-automationtestingtesting-toolswebwebkit
tree gardening: disable & assign failing tests (#21575)
Andrey Lushnikov8abe9fcf22d7
diff --git a/tests/library/browsercontext-basic.spec.ts b/tests/library/browsercontext-basic.spec.tsindex 373eb954a1..12d7a05eb9 100644--- a/tests/library/browsercontext-basic.spec.ts+++ b/tests/library/browsercontext-basic.spec.ts@@ -223,8 +223,9 @@ it('should not hang on promises after disabling javascript', async ({ browserNamexpect(await page.evaluate(async () => 2)).toBe(2);});-it('setContent should work after disabling javascript', async ({ contextFactory, browserName, isLinux }) => {+it('setContent should work after disabling javascript', async ({ contextFactory, browserName, isLinux, headless }) => {it.info().annotations.push({ type: 'issue', description: 'https://github.com/microsoft/playwright/issues/18235' });+ it.fixme(browserName === 'webkit' && !headless, 'https://github.com/microsoft/playwright/issues/21574');const context = await contextFactory({ javaScriptEnabled: false });const page = await context.newPage();await page.setContent('<h1>Hello</h1>');diff --git a/tests/library/capabilities.spec.ts b/tests/library/capabilities.spec.tsindex 9b521062db..c91324851a 100644--- a/tests/library/capabilities.spec.ts+++ b/tests/library/capabilities.spec.ts@@ -108,7 +108,7 @@ it('should play audio @smoke', async ({ page, server, browserName, platform }) =});it('should support webgl @smoke', async ({ page, browserName, headless, browserMajorVersion, channel }) => {- it.fixme(channel === 'msedge' && browserMajorVersion === 111, 'https://github.com/microsoft/playwright/issues/21549');+ it.fixme(channel === 'msedge' && browserMajorVersion === 110, 'https://github.com/microsoft/playwright/issues/21549');const hasWebGL = await page.evaluate(() => {const canvas = document.createElement('canvas');return !!canvas.getContext('webgl');@@ -117,7 +117,7 @@ it('should support webgl @smoke', async ({ page, browserName, headless, browserM});it('should support webgl 2 @smoke', async ({ page, browserName, headless, isWindows, channel, browserMajorVersion }) => {- it.fixme(channel === 'msedge' && browserMajorVersion === 111, 'https://github.com/microsoft/playwright/issues/21549');+ it.fixme(channel === 'msedge' && browserMajorVersion === 110, 'https://github.com/microsoft/playwright/issues/21549');it.skip(browserName === 'webkit', 'WebKit doesn\'t have webgl2 enabled yet upstream.');it.fixme(browserName === 'firefox' && isWindows);it.fixme(browserName === 'chromium' && !headless, 'chromium doesn\'t like webgl2 when running under xvfb');diff --git a/tests/page/page-screenshot.spec.ts b/tests/page/page-screenshot.spec.tsindex 7d56f26ff1..1e2a5a113a 100644--- a/tests/page/page-screenshot.spec.ts+++ b/tests/page/page-screenshot.spec.ts@@ -310,7 +310,8 @@ it.describe('page screenshot', () => {}});- it('should work for webgl', async ({ page, server, browserName }) => {+ it('should work for webgl', async ({ page, server, browserName, channel, browserMajorVersion }) => {+ it.fixme(channel === 'msedge' && browserMajorVersion === 110, 'https://github.com/microsoft/playwright/issues/21549');it.fixme(browserName === 'firefox');await page.setViewportSize({ width: 640, height: 480 });