You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 11, 2025. It is now read-only.
I want for example to modify the fullyParallel, the retries and the workers.
import{defineConfig,devices}from'@playwright/test';exportdefaultdefineConfig({// Look for test files in the "tests" directory, relative to this configuration file.testDir: 'tests',// Run all tests in parallel.fullyParallel: true,// Fail the build on CI if you accidentally left test.only in the source code.forbidOnly: !!process.env.CI,// Retry on CI only.retries: process.env.CI ? 2 : 0,// Opt out of parallel tests on CI.workers: process.env.CI ? 1 : undefined,// Reporter to usereporter: 'html',use: {// Collect trace when retrying the failed test.trace: 'on-first-retry',},// Configure projects for major browsers.projects: [{name: 'chromium',use: { ...devices['Desktop Chrome']},},],});