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
fix(test): increase Intel macOS timeout (#41851)
Simon Knotte23ccf335f24
diff --git a/tests/library/defaultbrowsercontext-2.spec.ts b/tests/library/defaultbrowsercontext-2.spec.tsindex f87f6dfaca..9e0fb4102d 100644--- a/tests/library/defaultbrowsercontext-2.spec.ts+++ b/tests/library/defaultbrowsercontext-2.spec.ts@@ -20,7 +20,6 @@ import fs from 'fs';import path from 'path';it.skip(({ mode }) => mode !== 'default', 'Remote persistent contexts are not supported');-it.slow(({ browserName, isMac }) => browserName === 'firefox' && isMac && process.arch === 'x64', 'Persistent Firefox launches are slow on Intel macOS runners under load.');it('should support hasTouch option', async ({ server, launchPersistent }) => {const { page } = await launchPersistent({ hasTouch: true });@@ -148,7 +147,6 @@ it('should goto about:blank on relaunched persistent context', {annotation: { type: 'issue', description: 'https://github.com/microsoft/playwright/issues/41216' },}, async ({ browserType, createUserDataDir, browserName, isBidi }) => {it.fixme(browserName === 'firefox' && !isBidi);- it.slow();const userDataDir = await createUserDataDir();diff --git a/tests/library/playwright.config.ts b/tests/library/playwright.config.tsindex 50993c4376..a9d7ff7b1b 100644--- a/tests/library/playwright.config.ts+++ b/tests/library/playwright.config.ts@@ -61,7 +61,7 @@ const config: Config<PlaywrightWorkerOptions & PlaywrightTestOptions & TestModeWtimeout: 10000,},maxFailures: 200,- timeout: video ? 60000 : 30000,+ timeout: video || (process.platform === 'darwin' && process.arch === 'x64') ? 60000 : 30000,globalTimeout: 7200000,workers: undefined,fullyParallel: !process.env.CI,diff --git a/tests/library/screencast.spec.ts b/tests/library/screencast.spec.tsindex a67b0aaaf2..45bc637ceb 100644--- a/tests/library/screencast.spec.ts+++ b/tests/library/screencast.spec.ts@@ -205,7 +205,6 @@ test('start should finish when page is closed', async ({ browser }, testInfo) =>});test('empty video', async ({ browser }, testInfo) => {- test.slow();const size = { width: 800, height: 800 };const context = await browser.newContext({ viewport: size });const page = await context.newPage();diff --git a/tests/mcp/annotate.spec.ts b/tests/mcp/annotate.spec.tsindex b63eb702ab..ded999196d 100644--- a/tests/mcp/annotate.spec.ts+++ b/tests/mcp/annotate.spec.ts@@ -228,7 +228,6 @@ test('user-initiated annotate downloads zip with feedback.md', async ({ connectT});test('should capture annotations via show --annotate', async ({ connectToDashboard, cli, server }) => {- test.slow();await cli('open', server.EMPTY_PAGE);const bindTitle = `--playwright-internal--${crypto.randomUUID()}`;await cli('show', { bindTitle });@@ -495,7 +494,6 @@ test('should switch screencast to -s session on show --annotate', async ({ conne});test('should disengage annotate mode when --annotate client disconnects', async ({ connectToDashboard, cli, childProcess, cliEnv, mcpBrowser, mcpHeadless, server }) => {- test.slow();await cli('open', server.EMPTY_PAGE);const bindTitle = `--playwright-internal--${crypto.randomUUID()}`;await cli('show', { bindTitle });diff --git a/tests/mcp/test-run.spec.ts b/tests/mcp/test-run.spec.tsindex 58d7167dd5..6aaf21a24e 100644--- a/tests/mcp/test-run.spec.ts+++ b/tests/mcp/test-run.spec.ts@@ -124,7 +124,6 @@ Running 2 tests using 1 worker});test('test_run should stop when aborted', async ({ startClient }) => {- test.slow(true, 'Drives two full test-runner lifecycles (abort + restart)');await writeFiles({'slow.test.ts': `import { test } from '@playwright/test';