Skip to content

Commit

Permalink
test: retry failed cypress tests twice
Browse files Browse the repository at this point in the history
This will hopefully make the CI more stable
while allowing us to also see which tests are flaky
in the cypress ui.

Some tests may not be retryable yet.
So they will always fail on a second attempt because of remains of a first attempt.
We can tackle that on a test by test basis later.

Signed-off-by: Max <max@nextcloud.com>
  • Loading branch information
max-nextcloud authored and vinicius73 committed Jun 30, 2022
1 parent bc26349 commit c1f712c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cypress.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,5 @@ module.exports = defineConfig({
experimentalSessionAndOrigin: true,
specPattern: 'cypress/e2e/**/*.{js,jsx,ts,tsx}',
},
retries: 2,
})

0 comments on commit c1f712c

Please sign in to comment.