Skip to content

Commit 3af2880

Browse files
committed
E2E: parallel workers
1 parent fd1b216 commit 3af2880

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/tests-pr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ jobs:
219219
name: 'E2E tests'
220220
if: github.event.pull_request.head.repo.full_name == github.repository
221221
runs-on: ubuntu-latest
222-
timeout-minutes: 40
222+
timeout-minutes: 20
223223
continue-on-error: true
224224
steps:
225225
- uses: actions/checkout@v3

packages/e2e/playwright.config.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,14 @@ const isCI = Boolean(process.env.CI)
1010
export default defineConfig({
1111
globalSetup: './setup/global-auth.ts',
1212
testDir: './tests',
13-
fullyParallel: false,
13+
fullyParallel: true,
1414
forbidOnly: isCI,
1515
retries: 0,
16-
workers: 1,
16+
workers: 4,
1717
maxFailures: isCI ? 3 : 0, // Stop early in CI after 3 failures
1818
reporter: isCI ? [['html', {open: 'never'}], ['list']] : [['list']],
1919
timeout: TEST_TIMEOUT.default, // Heavy tests override via test.setTimeout()
20-
globalTimeout: 35 * 60 * 1000, // Temporary: store creation adds time per test; will reduce with parallel workers
20+
globalTimeout: 20 * 60 * 1000,
2121

2222
use: {
2323
trace: isCI ? 'on' : 'off',

0 commit comments

Comments
 (0)