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:
parent
510bf9508b
commit
d1ea86ac3f
2 changed files with 4 additions and 2 deletions
2
.github/workflows/cypress.yml
vendored
2
.github/workflows/cypress.yml
vendored
|
@ -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
|
||||
|
|
|
@ -9,5 +9,7 @@
|
|||
"runMode": 2,
|
||||
"openMode": 0
|
||||
},
|
||||
"defaultCommandTimeout": 10000
|
||||
"defaultCommandTimeout": 10000,
|
||||
"videoCompression": false,
|
||||
"videoUploadOnPasses": false
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue