Skip to content

Commit b99cd5c

Browse files
authored
Update cypress to configure default browser (#1283)
Related to RaspberryPiFoundation/digital-editor-issues#878 It's currently not easy to run the cypress specs locally because they default to running in Electron (where they don't run correctly). Update Cypress so we can configure a default browser. Note that there's still a couple more things we will need to do to make it possible to run the cypress specs in the docker container to install Cypress and Chrome which is something I'm looking at.
1 parent c6c2803 commit b99cd5c

File tree

4 files changed

+256
-69
lines changed

4 files changed

+256
-69
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66

77
## [Unreleased]
88

9+
### Changed
10+
11+
- Update cypress (#1283)
12+
913
### Fixed
1014

1115
- Fix intermitently failing dropdown test (#1285)

cypress.config.mjs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ export default defineConfig({
99
supportFile: false,
1010
defaultCommandTimeout: 10000,
1111
video: false,
12+
defaultBrowser: "chrome",
1213
setupNodeEvents(on, config) {
1314
on("task", {
1415
log(message) {

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@
131131
"copy-webpack-plugin": "12.0.2",
132132
"css-loader": "4.3.0",
133133
"curl": "^0.1.4",
134-
"cypress": "12.12.0",
134+
"cypress": "14.5.4",
135135
"dotenv": "8.2.0",
136136
"dotenv-expand": "5.1.0",
137137
"dotenv-webpack": "8.1.0",

0 commit comments

Comments
 (0)