Skip to content

Commit

Permalink
Update to Cypress v13
Browse files Browse the repository at this point in the history
Some breaking changes:
- `video` now defaults to `false`
- `videoCompression` now defaults to `false`

Ensure they're both set to true in our config to continue
with previous behaviour.

This also resolves the outstanding security alert via
the @cypress/request package
  • Loading branch information
AlanGreene authored and tekton-robot committed Aug 30, 2023
1 parent 9774975 commit bf18b84
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 18 deletions.
34 changes: 17 additions & 17 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions packages/e2e/cypress.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ module.exports = defineConfig({
},
screenshotOnRunFailure: !isCI,
video: true,
videoCompression: true,
viewportHeight: 800, // default 660
viewportWidth: 1280 // default 1000
// waitForAnimations: true // disable to account for spinners?
Expand Down
2 changes: 1 addition & 1 deletion packages/e2e/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"test:ci": "node -e \"console.log('process.arch:', process.arch)\" && cypress run"
},
"devDependencies": {
"cypress": "^12.17.4"
"cypress": "^13.0.0"
},
"engines": {
"node": "^18.17.0",
Expand Down

0 comments on commit bf18b84

Please sign in to comment.