From ab49da1685c1d70eabb7721bb67c352bbcb46594 Mon Sep 17 00:00:00 2001 From: Pierre Jacquier Date: Sat, 22 Feb 2025 07:26:15 -0500 Subject: [PATCH] 10 retries 4 workers --- .github/workflows/e2e-tests.yml | 6 +++--- playwright.electron.config.ts | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/e2e-tests.yml b/.github/workflows/e2e-tests.yml index 2cbb2ef72..f88c9f370 100644 --- a/.github/workflows/e2e-tests.yml +++ b/.github/workflows/e2e-tests.yml @@ -55,7 +55,7 @@ jobs: - name: Run playwright/electron flow on ubuntu (with retries) if: contains(matrix.os, 'ubuntu') run: | - xvfb-run --auto-servernum --server-args="-screen 0 1280x960x24" -- yarn test:playwright:electron:ubuntu --retries 20 + xvfb-run --auto-servernum --server-args="-screen 0 1280x960x24" -- yarn test:playwright:electron:ubuntu env: CI: true FAIL_ON_CONSOLE_ERRORS: true @@ -68,7 +68,7 @@ jobs: if: contains(matrix.os, 'windows') id: retry run: | - yarn test:playwright:electron:windows --retries 20 + yarn test:playwright:electron:windows env: CI: true FAIL_ON_CONSOLE_ERRORS: true @@ -80,7 +80,7 @@ jobs: - name: Run playwright/electron flow on macos (with retries) if: contains(matrix.os, 'macos') run: | - yarn test:playwright:electron:macos --retries 20 + yarn test:playwright:electron:macos env: CI: true FAIL_ON_CONSOLE_ERRORS: true diff --git a/playwright.electron.config.ts b/playwright.electron.config.ts index 5bebd855d..bd8063e7d 100644 --- a/playwright.electron.config.ts +++ b/playwright.electron.config.ts @@ -11,9 +11,9 @@ export default defineConfig({ /* Fail the build on CI if you accidentally left test.only in the source code. */ forbidOnly: true, /* Do not retry */ - retries: 0, + retries: 10, /* Different amount of parallelism on CI and local. */ - workers: 8, + workers: 4, /* Reporter to use. See https://playwright.dev/docs/test-reporters */ reporter: [ ['dot'],