test: remove support for nighwatch e2e tests

We still ratain nighwatch test cases and need to port
them to Cypress. Test cases were broken and did not
run any more.

Refs #7341
This commit is contained in:
Vladimir Gorej
2021-07-20 12:46:55 +02:00
parent dbf3625bd2
commit 88668a5c6c
2 changed files with 109 additions and 1195 deletions

1297
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -36,20 +36,16 @@
"test-in-node": "run-s lint-errors just-test-in-node",
"just-test-in-node": "cross-env BABEL_ENV=test mocha \"test/mocha/**/*.{js,jsx}\"",
"test-e2e-cypress": "cypress run",
"test-e2e-selenium": "sleep 3 && nightwatch test/e2e-selenium/scenarios/ --config test/e2e-selenium/nightwatch.json",
"test:artifact": "run-s test:artifact:umd:bundle test:artifact:es:bundle test:artifact:es:bundle:core",
"test:artifact:umd:bundle": "npm run build-bundle && cross-env BABEL_ENV=commonjs jest --config ./config/jest/jest.artifact-umd-bundle.config.js",
"test:artifact:es:bundle": "npm run build:es:bundle && cross-env BABEL_ENV=commonjs jest --config ./config/jest/jest.artifact-es-bundle.config.js",
"test:artifact:es:bundle:core": "npm run build:es:bundle:core && cross-env BABEL_ENV=commonjs jest --config ./config/jest/jest.artifact-es-bundle-core.config.js",
"test:unit-jest": "cross-env BABEL_ENV=test jest --config ./config/jest/jest.unit.config.js",
"e2e-initial-render": "nightwatch test/e2e-selenium/scenarios/ --config test/e2e-selenium/nightwatch.json --group initial-render",
"mock-api": "json-server --watch test/e2e-selenium/db.json --port 3204",
"hot-e2e-cypress-server": "webpack serve --config webpack/dev-e2e.babel.js --content-base test/e2e-cypress/static",
"hot-e2e-selenium-server": "webpack serve --config webpack/dev-e2e.babel.js --content-base test/e2e-selenium/static",
"e2e-cypress": "run-p -r hot-e2e-cypress-server mock-api test-e2e-cypress",
"dev-e2e-cypress-open": "cypress open",
"dev-e2e-cypress": "run-p -r hot-e2e-cypress-server mock-api dev-e2e-cypress-open",
"e2e-selenium": "run-p -r hot-e2e-selenium-server mock-api test-e2e-selenium",
"open-static": "node -e \"require('open')('http://localhost:3002')\"",
"security-audit": "run-s -sc security-audit:all security-audit:prod",
"security-audit:prod": "npm-audit-ci-wrapper -p -t low",
@@ -117,7 +113,6 @@
"babel-plugin-module-resolver": "=4.1.0",
"babel-plugin-transform-react-remove-prop-types": "=0.4.24",
"body-parser": "^1.19.0",
"chromedriver": "^93.0.1",
"cors": "^2.8.5",
"cross-env": "=7.0.3",
"css-loader": "=5.2.6",
@@ -150,7 +145,6 @@
"local-web-server": "^4.2.1",
"mini-css-extract-plugin": "^1.6.2",
"mocha": "=8.4.0",
"nightwatch": "^1.7.7",
"npm-audit-ci-wrapper": "^3.0.2",
"npm-run-all": "^4.1.5",
"oauth2-server": "^2.4.1",
@@ -165,7 +159,6 @@
"rimraf": "^3.0.0",
"sass": "^1.35.1",
"sass-loader": "^9.0.3",
"selenium-server-standalone-jar": "^3.141.5",
"source-map-support": "^0.5.19",
"tachyons-sass": "^4.9.5",
"terser-webpack-plugin": "^4.2.3",