10 retries 4 workers
This commit is contained in:
6
.github/workflows/e2e-tests.yml
vendored
6
.github/workflows/e2e-tests.yml
vendored
@ -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
|
||||
|
||||
@ -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'],
|
||||
|
||||
Reference in New Issue
Block a user