Optimize performance of Cypress tests on CI (#809)

- Disable uploads for videos of tests that have passed
- Disable compression of videos to speed up runs
This commit is contained in:
Jon Koops 2021-07-08 13:09:29 +02:00 committed by GitHub
parent 510bf9508b
commit d1ea86ac3f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 2 deletions

View file

@ -36,7 +36,7 @@ jobs:
run: ./import.js
- name: Cypress run
run: npm run start:cypress-tests --headless --browser chrome
run: npm run start:cypress-tests
- name: Add Cypress videos artifacts
uses: actions/upload-artifact@v2

View file

@ -9,5 +9,7 @@
"runMode": 2,
"openMode": 0
},
"defaultCommandTimeout": 10000
"defaultCommandTimeout": 10000,
"videoCompression": false,
"videoUploadOnPasses": false
}