diff --git a/assets/playwright-ct.config.js b/assets/playwright-ct.config.js index 17edd50..881142e 100644 --- a/assets/playwright-ct.config.js +++ b/assets/playwright-ct.config.js @@ -16,8 +16,6 @@ module.exports = defineConfig({ 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 use. See https://playwright.dev/docs/test-reporters */ reporter: 'html', /* Shared settings for all the projects below. See https://playwright.dev/docs/api/class-testoptions. */ diff --git a/assets/playwright-ct.config.ts b/assets/playwright-ct.config.ts index b8429d7..b89cefa 100644 --- a/assets/playwright-ct.config.ts +++ b/assets/playwright-ct.config.ts @@ -15,8 +15,6 @@ export default defineConfig({ 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 use. See https://playwright.dev/docs/test-reporters */ reporter: 'html', /* Shared settings for all the projects below. See https://playwright.dev/docs/api/class-testoptions. */ diff --git a/assets/playwright.config.js b/assets/playwright.config.js index 0913c45..3e2be33 100644 --- a/assets/playwright.config.js +++ b/assets/playwright.config.js @@ -20,8 +20,6 @@ export default defineConfig({ 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 use. See https://playwright.dev/docs/test-reporters */ reporter: 'html', /* Shared settings for all the projects below. See https://playwright.dev/docs/api/class-testoptions. */ diff --git a/assets/playwright.config.ts b/assets/playwright.config.ts index 80b5a8d..1977879 100644 --- a/assets/playwright.config.ts +++ b/assets/playwright.config.ts @@ -19,8 +19,6 @@ export default defineConfig({ 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 use. See https://playwright.dev/docs/test-reporters */ reporter: 'html', /* Shared settings for all the projects below. See https://playwright.dev/docs/api/class-testoptions. */ diff --git a/playwright.config.ts b/playwright.config.ts index da71d43..f8c26ad 100644 --- a/playwright.config.ts +++ b/playwright.config.ts @@ -23,7 +23,6 @@ export default defineConfig({ timeout: 120 * 1000, testDir: './tests', reporter: 'list', - workers: process.env.CI ? 1 : undefined, outputDir: fs.mkdtempSync(path.join(os.tmpdir(), 'create-playwright-test-')), // place test dir outside to prevent influece from `yarn.lock` or `package.json` in repo projects: [ {