[MM-46305] Add reporting code for E2E tests (#2222)

* E2E reporting

* Test report

* Fix artifacts.js

* Revert "Test report"

This reverts commit f4d44b881a19c0e9d63066807f5cb6b9fe9017ee.

* PR feedback
This commit is contained in:
Devin Binnie
2022-08-15 09:07:22 -04:00
committed by GitHub
parent 1270859d39
commit 9faaa61e48
8 changed files with 2207 additions and 221 deletions

View File

@@ -42,7 +42,8 @@
"test:e2e": "cross-env NODE_ENV=test npm-run-all build build-robotjs test:e2e:build test:e2e:run",
"test:e2e:nobuild": "cross-env NODE_ENV=test npm-run-all test:e2e:build test:e2e:run",
"test:e2e:build": "webpack-cli --config webpack.config.test.js",
"test:e2e:run": "electron-mocha -r @babel/register --reporter mocha-circleci-reporter dist/tests/e2e_bundle.js",
"test:e2e:run": "electron-mocha -r @babel/register --reporter mochawesome dist/tests/e2e_bundle.js",
"test:e2e:send-report": "node ./e2e/save_report.js",
"test:unit": "jest",
"test:unit-ci": "jest --runInBand",
"test:coverage": "jest --coverage",
@@ -136,6 +137,7 @@
"@typescript-eslint/eslint-plugin": "5.18.0",
"@typescript-eslint/parser": "5.18.0",
"7zip-bin": "5.1.1",
"aws-sdk": "^2.1190.0",
"axios": "0.26.1",
"babel-eslint": "10.1.0",
"babel-loader": "8.2.4",
@@ -164,11 +166,13 @@
"mini-css-extract-plugin": "2.6.0",
"mmjstool": "github:mattermost/mattermost-utilities#3b4506b0f6b14fbb402f9f8ef932370e459e3773",
"mocha-circleci-reporter": "0.0.3",
"mochawesome": "7.1.3",
"node-gyp": "9.0.0",
"node-loader": "2.0.0",
"npm-run-all": "4.1.5",
"playwright": "1.23.4",
"ps-node": "^0.1.6",
"recursive-readdir": "^2.2.2",
"robotjs": "0.6.0",
"sass-loader": "12.6.0",
"shebang-loader": "0.0.1",