mirror of
https://github.com/microsoft/playwright.git
synced 2024-12-14 05:37:20 +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/**'],
|
||||
timeout: 30000,
|
||||
forbidOnly: !!process.env.CI,
|
||||
workers: process.env.CI ? 1 : undefined,
|
||||
preserveOutput: process.env.CI ? 'failures-only' : 'always',
|
||||
projects: process.env.PLAYWRIGHT_DOCKER ? [
|
||||
{ name: 'visual tests', testMatch: ['*.visual.ts'] },
|
||||
|
Loading…
Reference in New Issue
Block a user