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
chore: more tree gardening (#23119)
Andrey Lushnikove6bc32b0222d
diff --git a/tests/library/inspector/cli-codegen-2.spec.ts b/tests/library/inspector/cli-codegen-2.spec.tsindex dcd27816fe..30f4817b9b 100644--- a/tests/library/inspector/cli-codegen-2.spec.ts+++ b/tests/library/inspector/cli-codegen-2.spec.ts@@ -368,6 +368,7 @@ test.describe('cli codegen', () => {});test('should not clash pages', async ({ page, openRecorder, browserName }) => {+ test.fixme(browserName === 'firefox', 'https://github.com/microsoft/playwright/issues/23117');const recorder = await openRecorder();const [popup1] = await Promise.all([page.context().waitForEvent('page'),diff --git a/tests/library/trace-viewer.spec.ts b/tests/library/trace-viewer.spec.tsindex 9d5580459c..a19f01741d 100644--- a/tests/library/trace-viewer.spec.ts+++ b/tests/library/trace-viewer.spec.ts@@ -577,7 +577,8 @@ test('should show action source', async ({ showTraceViewer }) => {await expect(page.getByTestId('stack-trace').locator('.list-view-entry.selected')).toHaveText(/doClick.*trace-viewer\.spec\.ts:[\d]+/);});-test('should follow redirects', async ({ page, runAndTrace, server, asset }) => {+test('should follow redirects', async ({ page, runAndTrace, server, asset, browserName }) => {+ test.fixme(browserName === 'chromium', 'https://github.com/microsoft/playwright/issues/23115');server.setRoute('/empty.html', (req, res) => {res.writeHead(200, { 'Content-Type': 'text/html' });res.end(`<div><img id=img src="image.png"></img></div>`);diff --git a/tests/library/video.spec.ts b/tests/library/video.spec.tsindex 03b39b8e84..54ca41ff2d 100644--- a/tests/library/video.spec.ts+++ b/tests/library/video.spec.ts@@ -674,10 +674,11 @@ it.describe('screencast', () => {expect(files.length).toBe(1);});- it('should capture full viewport', async ({ browserType, browserName, headless, isWindows }, testInfo) => {+ it('should capture full viewport', async ({ browserType, browserName, headless, isWindows, isLinux }, testInfo) => {it.info().annotations.push({ type: 'issue', description: 'https://github.com/microsoft/playwright/issues/22411' });it.fixme(browserName === 'chromium' && !headless, 'The square is not on the video');it.fixme(browserName === 'firefox' && isWindows, 'https://github.com/microsoft/playwright/issues/14405');+ it.fixme(browserName === 'firefox' && !headless && isLinux, 'https://github.com/microsoft/playwright/issues/23118');const size = { width: 600, height: 400 };const browser = await browserType.launch();diff --git a/tests/playwright-test/playwright.fetch.spec.ts b/tests/playwright-test/playwright.fetch.spec.tsindex 540413aeef..8401fee4b2 100644--- a/tests/playwright-test/playwright.fetch.spec.ts+++ b/tests/playwright-test/playwright.fetch.spec.ts@@ -52,6 +52,7 @@ test('should use baseURL in request fixture', async ({ runInlineTest, server })});test('should stop tracing on requestContext.dispose()', async ({ runInlineTest, server }) => {+ test.fixme(process.platform === 'darwin', 'https://github.com/microsoft/playwright/issues/23116');server.setRoute('/slow', (req, resp) => {resp.writeHead(200, {'Content-Type': 'text/plain; charset=utf-8',diff --git a/tests/playwright-test/ui-mode-trace.spec.ts b/tests/playwright-test/ui-mode-trace.spec.tsindex 6330e6f786..9194e74add 100644--- a/tests/playwright-test/ui-mode-trace.spec.ts+++ b/tests/playwright-test/ui-mode-trace.spec.ts@@ -19,6 +19,7 @@ import { test, expect } from './ui-mode-fixtures';test.describe.configure({ mode: 'parallel' });test('should merge trace events', async ({ runUITest, server }) => {+ test.fixme(true, 'https://github.com/microsoft/playwright/issues/23114');const { page } = await runUITest({'a.test.ts': `import { test, expect } from '@playwright/test';@@ -50,6 +51,7 @@ test('should merge trace events', async ({ runUITest, server }) => {});test('should merge web assertion events', async ({ runUITest }, testInfo) => {+ test.fixme(process.platform === 'darwin' || process.platform === 'win32', 'https://github.com/microsoft/playwright/issues/23114');const { page } = await runUITest({'a.test.ts': `import { test, expect } from '@playwright/test';@@ -122,6 +124,7 @@ test('should locate sync assertions in source', async ({ runUITest, server }) =>});test('should show snapshots for sync assertions', async ({ runUITest, server }) => {+ test.fixme(true, 'https://github.com/microsoft/playwright/issues/23114');const { page } = await runUITest({'a.test.ts': `import { test, expect } from '@playwright/test';