mirror of
https://github.com/microsoft/playwright.git
synced 2025-01-05 19:04:43 +03:00
test: default to one worker on CI for tests/playwright-test (#11618)
This commit is contained in:
parent
a13f71d328
commit
a8a81eba11
@ -21,6 +21,7 @@ const config: Config = {
|
|||||||
testIgnore: ['assets/**', 'stable-test-runner/**'],
|
testIgnore: ['assets/**', 'stable-test-runner/**'],
|
||||||
timeout: 30000,
|
timeout: 30000,
|
||||||
forbidOnly: !!process.env.CI,
|
forbidOnly: !!process.env.CI,
|
||||||
|
workers: process.env.CI ? 1 : undefined,
|
||||||
preserveOutput: process.env.CI ? 'failures-only' : 'always',
|
preserveOutput: process.env.CI ? 'failures-only' : 'always',
|
||||||
projects: process.env.PLAYWRIGHT_DOCKER ? [
|
projects: process.env.PLAYWRIGHT_DOCKER ? [
|
||||||
{ name: 'visual tests', testMatch: ['*.visual.ts'] },
|
{ name: 'visual tests', testMatch: ['*.visual.ts'] },
|
||||||
|
Loading…
Reference in New Issue
Block a user