diff options
author | Max <max@nextcloud.com> | 2022-06-20 09:38:32 +0300 |
---|---|---|
committer | Vinicius Reis <vinicius.reis@nextcloud.com> | 2022-06-30 20:31:24 +0300 |
commit | ce9b52dad5c8a03c547c80fe115eed81de42e28b (patch) | |
tree | 1324f9254e8a72b48c2d41aac478f799e179a301 | |
parent | 9abdea02dcb1e24afbce7770054c71d1fcdb8ed3 (diff) |
test: retry failed cypress tests twice
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>
-rw-r--r-- | cypress.config.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cypress.config.js b/cypress.config.js index 44562183c..f16ced11a 100644 --- a/cypress.config.js +++ b/cypress.config.js @@ -20,4 +20,5 @@ module.exports = defineConfig({ experimentalSessionAndOrigin: true, specPattern: 'cypress/e2e/**/*.{js,jsx,ts,tsx}', }, + retries: 2, }) |