Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/text.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax <max@nextcloud.com>2022-08-31 11:22:36 +0300
committerMax <max@nextcloud.com>2022-08-31 12:23:22 +0300
commitba2c4934391debe36b43bad85fd36f1934875e63 (patch)
tree4b75b6d885463b7ca9d3e8a19ecc38a068f606b1 /cypress.config.js
parent3f6f5d1e0391eadb309543375d9a42c22bbf70ae (diff)
cy: only run retries in run mode - not in open mode
Signed-off-by: Max <max@nextcloud.com>
Diffstat (limited to 'cypress.config.js')
-rw-r--r--cypress.config.js6
1 files changed, 5 insertions, 1 deletions
diff --git a/cypress.config.js b/cypress.config.js
index f16ced11a..90aa4bb1e 100644
--- a/cypress.config.js
+++ b/cypress.config.js
@@ -20,5 +20,9 @@ module.exports = defineConfig({
experimentalSessionAndOrigin: true,
specPattern: 'cypress/e2e/**/*.{js,jsx,ts,tsx}',
},
- retries: 2,
+ retries: {
+ "runMode": 2,
+ // do not retry in `cypress open`
+ "openMode": 0
+ },
})