diff --git a/.github/workflows/tests-pr.yml b/.github/workflows/tests-pr.yml index 1ff208772d..e95c3cfb93 100644 --- a/.github/workflows/tests-pr.yml +++ b/.github/workflows/tests-pr.yml @@ -219,7 +219,7 @@ jobs: name: 'E2E tests' if: github.event.pull_request.head.repo.full_name == github.repository runs-on: ubuntu-latest - timeout-minutes: 40 + timeout-minutes: 20 continue-on-error: true steps: - uses: actions/checkout@v3 diff --git a/packages/e2e/playwright.config.ts b/packages/e2e/playwright.config.ts index ffee3054fa..6f50364b4f 100644 --- a/packages/e2e/playwright.config.ts +++ b/packages/e2e/playwright.config.ts @@ -10,14 +10,14 @@ const isCI = Boolean(process.env.CI) export default defineConfig({ globalSetup: './setup/global-auth.ts', testDir: './tests', - fullyParallel: false, + fullyParallel: true, forbidOnly: isCI, retries: 0, - workers: 1, + workers: 5, maxFailures: isCI ? 3 : 0, // Stop early in CI after 3 failures reporter: isCI ? [['html', {open: 'never'}], ['list']] : [['list']], timeout: TEST_TIMEOUT.default, // Heavy tests override via test.setTimeout() - globalTimeout: 35 * 60 * 1000, // Temporary: store creation adds time per test; will reduce with parallel workers + globalTimeout: 20 * 60 * 1000, use: { trace: isCI ? 'on' : 'off',