feat: cypress E2E testing (#2002)

* feat: cypress

* dev: move cypress in dev + setup bash script

* fix: cypress docker network host

* fix: override cypress baseUrl

* fix: cypress ci-run.sh dir path

* fix: cypress ci-run vars

* fix: cypress missing group

* fix: cypress path config

* fix: cypress record key

* fix: remove cypress run file

* fix: cypress mssql delay

* misc: use current docker build for cypress tests
This commit is contained in:
Nicolas Giard
2020-06-05 14:13:29 -04:00
committed by GitHub
parent c2a0773633
commit ff31d252f9
9 changed files with 620 additions and 42 deletions

View File

@@ -10,7 +10,8 @@
"dev": "node dev",
"build": "webpack --profile --config dev/webpack/webpack.prod.js",
"watch": "webpack --config dev/webpack/webpack.dev.js",
"test": "eslint --format codeframe --ext .js,.vue . && pug-lint server/views && jest"
"test": "eslint --format codeframe --ext .js,.vue . && pug-lint server/views && jest",
"cypress:open": "cypress open"
},
"repository": {
"type": "git",
@@ -229,12 +230,14 @@
"core-js": "3.6.5",
"css-loader": "3.5.3",
"cssnano": "4.1.10",
"cypress": "4.7.0",
"d3": "5.16.0",
"duplicate-package-checker-webpack-plugin": "3.0.0",
"epic-spinners": "1.1.0",
"eslint": "7.1.0",
"eslint-config-requarks": "1.0.7",
"eslint-config-standard": "14.1.1",
"eslint-plugin-cypress": "2.11.1",
"eslint-plugin-import": "2.20.2",
"eslint-plugin-node": "11.1.0",
"eslint-plugin-promise": "4.2.1",