Restore working E2E tests (#2981)
This commit is contained in:
10
package.json
10
package.json
@@ -37,10 +37,10 @@
|
|||||||
"lint:js-quiet": "npm run lint:js -- --quiet",
|
"lint:js-quiet": "npm run lint:js -- --quiet",
|
||||||
"fix:js": "npm run lint:js-quiet -- --fix",
|
"fix:js": "npm run lint:js-quiet -- --fix",
|
||||||
"test": "run-s lint:js test:unit test:e2e",
|
"test": "run-s lint:js test:unit test:e2e",
|
||||||
"test:e2e": "run-s build-all test:e2e:run",
|
"test:e2e": "run-s build-test test:e2e:run",
|
||||||
"test:e2e:run": "electron-mocha --reporter mochawesome dist/tests/e2e_bundle.js",
|
"test:e2e:run": "electron-mocha --reporter mochawesome dist/tests/e2e_bundle.js",
|
||||||
"test:e2e:no-rebuild": "run-s build-test:e2e test:e2e:run",
|
"test:e2e:no-rebuild": "run-s build-test:e2e test:e2e:run",
|
||||||
"test:e2e:performance": "run-s build-all test:e2e:run-performance",
|
"test:e2e:performance": "run-s build-test test:e2e:run-performance",
|
||||||
"test:e2e:run-performance": "electron-mocha --reporter json --reporter-option output=./e2e/performance/perf-test-report.json dist/tests/e2e_bundle.js",
|
"test:e2e:run-performance": "electron-mocha --reporter json --reporter-option output=./e2e/performance/perf-test-report.json dist/tests/e2e_bundle.js",
|
||||||
"test:e2e:send-report": "node ./e2e/save_report.js",
|
"test:e2e:send-report": "node ./e2e/save_report.js",
|
||||||
"test:unit": "jest",
|
"test:unit": "jest",
|
||||||
@@ -52,10 +52,10 @@
|
|||||||
"build-prod": "cross-env NODE_ENV=production run-s check-build-config build",
|
"build-prod": "cross-env NODE_ENV=production run-s check-build-config build",
|
||||||
"build-prod-mas": "cross-env NODE_ENV=production IS_MAC_APP_STORE=true run-s check-build-config build",
|
"build-prod-mas": "cross-env NODE_ENV=production IS_MAC_APP_STORE=true run-s check-build-config build",
|
||||||
"build-prod-upgrade": "cross-env NODE_ENV=production CAN_UPGRADE=true run-s check-build-config build",
|
"build-prod-upgrade": "cross-env NODE_ENV=production CAN_UPGRADE=true run-s check-build-config build",
|
||||||
"build-test": "run-p build-test:*",
|
"build-test": "cross-env NODE_ENV=test run-p build:* build-test:*",
|
||||||
"build-test:robotjs": "cross-env CL='/std:c++17' electron-rebuild -m ./node_modules/robotjs",
|
"build-test:robotjs": "cross-env CL='/std:c++17' electron-rebuild -m ./node_modules/robotjs",
|
||||||
"build-test:e2e": "cross-env NODE_ENV=test webpack-cli --config webpack.config.test.js",
|
"build-test:e2e": "webpack-cli --config webpack.config.test.js",
|
||||||
"build-test:e2e-performance": "cross-env NODE_ENV=test webpack-cli --config webpack.config.performance.test.js",
|
"build-test:e2e-performance": "webpack-cli --config webpack.config.performance.test.js",
|
||||||
"build-all": "run-p build build-test",
|
"build-all": "run-p build build-test",
|
||||||
"create-linux-dev-shortcut": "node scripts/create_linux_dev_shortcut.js",
|
"create-linux-dev-shortcut": "node scripts/create_linux_dev_shortcut.js",
|
||||||
"start": "npm run create-linux-dev-shortcut && electron dist/ --disable-dev-mode",
|
"start": "npm run create-linux-dev-shortcut && electron dist/ --disable-dev-mode",
|
||||||
|
Reference in New Issue
Block a user