Configure tests retries
This commit is contained in:
parent
af9fd856eb
commit
570cfc8610
2 changed files with 5 additions and 2 deletions
|
@ -95,7 +95,7 @@ steps:
|
||||||
CYPRESS_TEST_SECRET: averyLongSecretToSe33dtheDB
|
CYPRESS_TEST_SECRET: averyLongSecretToSe33dtheDB
|
||||||
YARN_CACHE_FOLDER: .cache/yarn/
|
YARN_CACHE_FOLDER: .cache/yarn/
|
||||||
CYPRESS_CACHE_FOLDER: .cache/cypress/
|
CYPRESS_CACHE_FOLDER: .cache/cypress/
|
||||||
CYPRESS_DEFAULT_COMMAND_TIMEOUT: 60000
|
CYPRESS_DEFAULT_COMMAND_TIMEOUT: 20000
|
||||||
commands:
|
commands:
|
||||||
- sed -i 's/localhost/api/g' public/index.html
|
- sed -i 's/localhost/api/g' public/index.html
|
||||||
- yarn serve & npx wait-on http://localhost:8080
|
- yarn serve & npx wait-on http://localhost:8080
|
||||||
|
|
|
@ -4,5 +4,8 @@
|
||||||
"API_URL": "http://localhost:3456/api/v1",
|
"API_URL": "http://localhost:3456/api/v1",
|
||||||
"TEST_SECRET": "testingS3cr3et"
|
"TEST_SECRET": "testingS3cr3et"
|
||||||
},
|
},
|
||||||
"video": false
|
"video": false,
|
||||||
|
"retries": {
|
||||||
|
"runMode": 2
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue