From 7b40bd78d5898aba04bf15581742e965e020ee1b Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 3 Jun 2022 20:27:01 +0000 Subject: [PATCH] chore(deps-dev): bump cypress from 9.7.0 to 10.0.2 (#8037) * chore(deps-dev): bump cypress from 9.7.0 to 10.0.2 Bumps [cypress](https://github.com/cypress-io/cypress) from 9.7.0 to 10.0.2. - [Release notes](https://github.com/cypress-io/cypress/releases) - [Changelog](https://github.com/cypress-io/cypress/blob/develop/.releaserc.base.js) - [Commits](https://github.com/cypress-io/cypress/compare/v9.7.0...v10.0.2) --- updated-dependencies: - dependency-name: cypress dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> * update for cypress 10 breaking changes Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: chris48s <chris.shaw480@gmail.com> Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com> --- cypress.config.js | 13 +++++++++++++ cypress.json | 9 --------- .../main-page.spec.js => e2e/main-page.cy.js} | 0 package-lock.json | 14 +++++++------- package.json | 2 +- 5 files changed, 21 insertions(+), 17 deletions(-) create mode 100644 cypress.config.js delete mode 100644 cypress.json rename cypress/{integration/main-page.spec.js => e2e/main-page.cy.js} (100%) diff --git a/cypress.config.js b/cypress.config.js new file mode 100644 index 0000000000..4678415ba8 --- /dev/null +++ b/cypress.config.js @@ -0,0 +1,13 @@ +import { defineConfig } from 'cypress' + +export default defineConfig({ + fixturesFolder: false, + env: { + backend_url: 'http://localhost:8080', + }, + e2e: { + setupNodeEvents(on, config) {}, + baseUrl: 'http://localhost:3000', + supportFile: false, + }, +}) diff --git a/cypress.json b/cypress.json deleted file mode 100644 index a52a02bf75..0000000000 --- a/cypress.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "baseUrl": "http://localhost:3000", - "fixturesFolder": false, - "pluginsFile": false, - "supportFile": false, - "env": { - "backend_url": "http://localhost:8080" - } -} diff --git a/cypress/integration/main-page.spec.js b/cypress/e2e/main-page.cy.js similarity index 100% rename from cypress/integration/main-page.spec.js rename to cypress/e2e/main-page.cy.js diff --git a/package-lock.json b/package-lock.json index 6085ca7f43..f16bd77c09 100644 --- a/package-lock.json +++ b/package-lock.json @@ -82,7 +82,7 @@ "child-process-promise": "^2.2.1", "clipboard-copy": "^4.0.1", "concurrently": "^7.2.1", - "cypress": "^9.7.0", + "cypress": "^10.0.2", "danger": "^11.0.7", "danger-plugin-no-test-shortcuts": "^2.0.0", "deepmerge": "^4.2.2", @@ -8685,9 +8685,9 @@ "dev": true }, "node_modules/cypress": { - "version": "9.7.0", - "resolved": "https://registry.npmjs.org/cypress/-/cypress-9.7.0.tgz", - "integrity": "sha512-+1EE1nuuuwIt/N1KXRR2iWHU+OiIt7H28jJDyyI4tiUftId/DrXYEwoDa5+kH2pki1zxnA0r6HrUGHV5eLbF5Q==", + "version": "10.0.2", + "resolved": "https://registry.npmjs.org/cypress/-/cypress-10.0.2.tgz", + "integrity": "sha512-7+C4KHYBcfZrawss+Gt5PlS35rfc6ySc59JcHDVsIMm1E/J35dqE41UEXpdtwIq3549umCerNWnFADzqib4kcA==", "dev": true, "hasInstallScript": true, "dependencies": { @@ -36989,9 +36989,9 @@ "dev": true }, "cypress": { - "version": "9.7.0", - "resolved": "https://registry.npmjs.org/cypress/-/cypress-9.7.0.tgz", - "integrity": "sha512-+1EE1nuuuwIt/N1KXRR2iWHU+OiIt7H28jJDyyI4tiUftId/DrXYEwoDa5+kH2pki1zxnA0r6HrUGHV5eLbF5Q==", + "version": "10.0.2", + "resolved": "https://registry.npmjs.org/cypress/-/cypress-10.0.2.tgz", + "integrity": "sha512-7+C4KHYBcfZrawss+Gt5PlS35rfc6ySc59JcHDVsIMm1E/J35dqE41UEXpdtwIq3549umCerNWnFADzqib4kcA==", "dev": true, "requires": { "@cypress/request": "^2.88.10", diff --git a/package.json b/package.json index 51d833e433..bb274449e3 100644 --- a/package.json +++ b/package.json @@ -168,7 +168,7 @@ "child-process-promise": "^2.2.1", "clipboard-copy": "^4.0.1", "concurrently": "^7.2.1", - "cypress": "^9.7.0", + "cypress": "^10.0.2", "danger": "^11.0.7", "danger-plugin-no-test-shortcuts": "^2.0.0", "deepmerge": "^4.2.2", -- GitLab