Cypress testing items.

This commit is contained in:
Patrick Fic
2021-12-15 13:28:39 -08:00
parent 0738b9e1c8
commit fa878f8155
10 changed files with 543 additions and 21 deletions

View File

@@ -87,14 +87,15 @@
"build:test": "env-cmd -f .env.test yarn run build",
"build-deploy:test": "yarn run build:test && s3cmd sync build/* s3://imex-online-test && echo '🚀 TESTING Deployed!'",
"buildcra": "REACT_APP_GIT_SHA=`git rev-parse --short HEAD` craco build",
"test": "react-scripts test",
"test": "cypress open",
"eject": "react-scripts eject",
"madge": "madge --image ./madge-graph.svg --extensions js,jsx,ts,tsx --circular ."
},
"eslintConfig": {
"extends": [
"react-app",
"react-app/jest"
"react-app/jest",
"plugin:cypress/recommended"
]
},
"browserslist": {
@@ -111,7 +112,9 @@
},
"devDependencies": {
"@sentry/webpack-plugin": "^1.18.3",
"@testing-library/cypress": "^8.0.2",
"cypress": "^9.1.1",
"eslint-plugin-cypress": "^2.12.1",
"redux-logger": "^3.0.6",
"source-map-explorer": "^2.5.2"
}