Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps-dev): bump cypress from 9.5.1 to 10.3.0 #3220

Merged
merged 1 commit into from
Jul 6, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions cypress.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
"use strict"

const { defineConfig } = require("cypress")
const setupNodeEvents = require("./test/e2e/plugins/index.js")

module.exports = defineConfig({
fileServerFolder: "test/e2e/static",
fixturesFolder: "test/e2e/fixtures",
screenshotsFolder: "test/e2e/screenshots",
videosFolder: "test/e2e/videos",
e2e: {
baseUrl: "http://localhost:3001/",
supportFile: "test/e2e/support/e2e.js",
specPattern: "test/e2e/tests/**/*.js",
setupNodeEvents,
},
})
9 changes: 0 additions & 9 deletions cypress.json

This file was deleted.

18 changes: 9 additions & 9 deletions package-lock.json

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

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"lint": "eslint --cache --ext '.js,.jsx' src test",
"lint-errors": "eslint --cache --quiet --ext '.js,.jsx' src test",
"lint-fix": "eslint --cache --ext '.js,.jsx' src test --fix",
"cy:start": "webpack serve --port 3260 --host 0.0.0.0 --config webpack/dev.babel.js --inline --hot --progress --content-base test/e2e/static",
"cy:start": "webpack serve --port 3260 --host 0.0.0.0 --config webpack/dev.babel.js --hot --progress --static test/e2e/static",
"cy:open": "cypress open",
"cy:run:chrome": "cypress run --browser chrome",
"cy:run:firefox": "cypress run --browser firefox",
Expand Down Expand Up @@ -118,7 +118,7 @@
"cross-env": "^7.0.3",
"css-loader": "^6.7.1",
"cssnano": "^5.0.6",
"cypress": "^9.5.1",
"cypress": "=10.3.0",
"cypress-file-upload": "^5.0.8",
"dedent": "^0.7.0",
"deep-extend": "^0.6.0",
Expand Down
4 changes: 3 additions & 1 deletion test/e2e/plugins/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@
// This function is called when a project is opened or re-opened (e.g. due to
// the project's config changing)

module.exports = (on, config) => {
const setupNodeEvents = (on, config) => {
// `on` is used to hook into various events Cypress emits
// `config` is the resolved Cypress config
}

module.exports = setupNodeEvents
File renamed without changes.