Browse Source

test: stress runners (#15078)

pull/15093/head
Pavel Feldman 3 days ago committed by GitHub
parent
commit
1ce1246a0e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      tests/library/playwright.config.ts
  2. 2
      tests/playwright-test/playwright.config.ts

2
tests/library/playwright.config.ts

@ -52,7 +52,7 @@ const config: Config<CoverageWorkerOptions & PlaywrightWorkerOptions & Playwrigh
maxFailures: 100,
timeout: video ? 60000 : 30000,
globalTimeout: 5400000,
workers: process.env.CI ? 1 : undefined,
workers: process.env.CI ? 2 : undefined,
fullyParallel: !process.env.CI,
forbidOnly: !!process.env.CI,
preserveOutput: process.env.CI ? 'failures-only' : 'always',

2
tests/playwright-test/playwright.config.ts

@ -26,7 +26,7 @@ const config: Config = {
testIgnore: ['assets/**', 'stable-test-runner/**'],
timeout: 30000,
forbidOnly: !!process.env.CI,
workers: process.env.CI ? 1 : undefined,
workers: process.env.CI ? 2 : undefined,
preserveOutput: process.env.CI ? 'failures-only' : 'always',
projects: [
{

Loading…
Cancel
Save