Skip to content

Commit

Permalink
Deps - Upgrade Cypress (Minor) + replace cypress-react-unit-test with…
Browse files Browse the repository at this point in the history
… @cypress/react
  • Loading branch information
Vadorequest committed Jan 10, 2021
1 parent 0eed84b commit 21e7527
Show file tree
Hide file tree
Showing 6 changed files with 50 additions and 173 deletions.
3 changes: 2 additions & 1 deletion cypress/config-customer-ci-cd.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,6 @@
"screenshotsFolder": "cypress/screenshots/customer",
"videosFolder": "cypress/videos/customer",
"env": {},
"ignoreTestFiles": "*.md"
"ignoreTestFiles": "*.md",
"experimentalComponentTesting": true
}
3 changes: 2 additions & 1 deletion cypress/config-customer1.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,6 @@
"screenshotsFolder": "cypress/screenshots/customer1",
"videosFolder": "cypress/videos/customer1",
"env": {},
"ignoreTestFiles": "*.md"
"ignoreTestFiles": "*.md",
"experimentalComponentTesting": true
}
3 changes: 2 additions & 1 deletion cypress/config-customer2.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,6 @@
"screenshotsFolder": "cypress/screenshots/customer2",
"videosFolder": "cypress/videos/customer2",
"env": {},
"ignoreTestFiles": "*.md"
"ignoreTestFiles": "*.md",
"experimentalComponentTesting": true
}
2 changes: 1 addition & 1 deletion cypress/support/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
// ***********************************************************

// See https://dev.to/cuichenli/how-do-i-setup-my-nextjs-development-environment-2kao
import 'cypress-react-unit-test/support';
import '@cypress/react/support';
import './commands';

// See https://docs.cypress.io/api/events/catalog-of-events.html#Uncaught-Exceptions
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,7 @@
"winston": "3.3.3"
},
"devDependencies": {
"@cypress/react": "4.16.3",
"@emotion/babel-preset-css-prop": "10.0.27",
"@next/bundle-analyzer": "10.0.5",
"@svgr/cli": "5.5.0",
Expand Down Expand Up @@ -199,8 +200,7 @@
"concurrently": "5.3.0",
"cross-env": "7.0.3",
"current-git-branch": "1.1.0",
"cypress": "6.0.1",
"cypress-react-unit-test": "4.17.1",
"cypress": "6.2.1",
"del-cli": "3.0.1",
"dotenv": "8.2.0",
"eslint": "7.8.1",
Expand Down
Loading

1 comment on commit 21e7527

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.