Skip to content

Commit 01555ed

Browse files
authored
Merge pull request #14149 from guardian/ravi/playwright-parallel-tests-on-ci
Speedup CI: Balance Playwright shards on CI by setting `fullyParallel: true`
2 parents cc6cef0 + 901cad7 commit 01555ed

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dotcom-rendering/playwright.config.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ export const PORT = isDev ? 3030 : 9000;
1111
*/
1212
export default defineConfig({
1313
testDir: './playwright/tests',
14-
// Don't run tests _within_ files in parallel as this causes flakiness locally - investigating
14+
// Don't run tests _within_ files in parallel locally as this causes flakiness
1515
// Test files still run in parallel as per the number of workers set below
16-
fullyParallel: false,
16+
fullyParallel: !!process.env.CI,
1717
// Fail the build on CI if you accidentally left test.only in the source code
1818
forbidOnly: !!process.env.CI,
1919
// Retry on CI only

0 commit comments

Comments
 (0)