feat: add cypress dashboard record
continuous-integration/drone/pr Build is failing Details

This commit is contained in:
kolaente 2022-01-30 22:19:28 +01:00
parent ea710e227a
commit c7a541918a
Signed by: konrad
GPG Key ID: F40E70337AB24C9B
2 changed files with 6 additions and 3 deletions

View File

@ -116,10 +116,12 @@ steps:
YARN_CACHE_FOLDER: .cache/yarn/
CYPRESS_CACHE_FOLDER: .cache/cypress/
CYPRESS_DEFAULT_COMMAND_TIMEOUT: 60000
CYPRESS_KEY:
from_secret: cypress_project_key
commands:
- sed -i 's/localhost/api/g' dist/index.html
- yarn serve:dist & npx wait-on http://localhost:5000
- yarn test:frontend --browser chrome
- yarn test:frontend --browser chrome --record --key $CYPRESS_KEY
depends_on:
- dependencies
- build-prod
@ -665,6 +667,6 @@ steps:
from_secret: crowdin_key
---
kind: signature
hmac: 188ee90100c5fc5922a445e531e7a47453121edddb2a64a182eb23ed2bf602de
hmac: fc7f99db762292b19a5cb01ba8f686c5348f9824473850c7f6ea4e0fba3a57a2
...

View File

@ -7,5 +7,6 @@
"video": false,
"retries": {
"runMode": 2
}
},
"projectId": "181c7x"
}