Skip to content

Commit 36af846

Browse files
jacekradkowobsoriano
authored andcommitted
fix(e2e): parse E2E_WORKERS as number for playwright config (#8133)
1 parent defc845 commit 36af846

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

integration/playwright.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ export const common: PlaywrightTestConfig = {
1414
forbidOnly: !!process.env.CI,
1515
retries: process.env.CI ? 5 : 0,
1616
maxFailures: process.env.CI ? 5 : undefined,
17-
workers: process.env.E2E_WORKERS || (process.env.CI ? '50%' : '70%'),
17+
workers: process.env.E2E_WORKERS ? Number(process.env.E2E_WORKERS) : process.env.CI ? '50%' : '70%',
1818
use: {
1919
actionTimeout: 10_000,
2020
navigationTimeout: 30_000,

0 commit comments

Comments
 (0)