Configure tests retries

This commit is contained in:
kolaente 2021-06-02 09:08:24 +02:00
parent af9fd856eb
commit 570cfc8610
No known key found for this signature in database
GPG key ID: F40E70337AB24C9B
2 changed files with 5 additions and 2 deletions

View file

@ -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

View file

@ -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
}
} }