fixed electron tests with retry, update dependencies

This commit is contained in:
Karsten Hassel 2021-12-22 22:31:39 +01:00
parent dca5759569
commit 9b83862a96
4 changed files with 483 additions and 465 deletions

View File

@ -35,6 +35,7 @@ _This release is scheduled to be released on 2022-01-01._
- Revert node-ical update due to missing luxon package. - Revert node-ical update due to missing luxon package.
- Fixed User-Agent-Header for newsfeed and calendar module (#2729). - Fixed User-Agent-Header for newsfeed and calendar module (#2729).
- Replace broken shields in Readme and use https for links. - Replace broken shields in Readme and use https for links.
- Fixed electron tests with retry.
## [2.17.1] - 2021-10-01 ## [2.17.1] - 2021-10-01

934
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -48,7 +48,7 @@
"devDependencies": { "devDependencies": {
"eslint-config-prettier": "^8.3.0", "eslint-config-prettier": "^8.3.0",
"eslint-plugin-jest": "^25.3.0", "eslint-plugin-jest": "^25.3.0",
"eslint-plugin-jsdoc": "^37.2.0", "eslint-plugin-jsdoc": "^37.4.0",
"eslint-plugin-prettier": "^4.0.0", "eslint-plugin-prettier": "^4.0.0",
"express-basic-auth": "^1.2.1", "express-basic-auth": "^1.2.1",
"husky": "^7.0.4", "husky": "^7.0.4",
@ -58,23 +58,23 @@
"nyc": "^15.1.0", "nyc": "^15.1.0",
"playwright": "^1.17.1", "playwright": "^1.17.1",
"prettier": "^2.5.1", "prettier": "^2.5.1",
"pretty-quick": "^3.1.2", "pretty-quick": "^3.1.3",
"sinon": "^12.0.1", "sinon": "^12.0.1",
"stylelint": "^14.1.0", "stylelint": "^14.2.0",
"stylelint-config-prettier": "^9.0.3", "stylelint-config-prettier": "^9.0.3",
"stylelint-config-standard": "^24.0.0", "stylelint-config-standard": "^24.0.0",
"stylelint-prettier": "^2.0.0", "stylelint-prettier": "^2.0.0",
"suncalc": "^1.8.0" "suncalc": "^1.8.0"
}, },
"optionalDependencies": { "optionalDependencies": {
"electron": "^16.0.4" "electron": "^16.0.5"
}, },
"dependencies": { "dependencies": {
"colors": "^1.4.0", "colors": "^1.4.0",
"console-stamp": "^3.0.3", "console-stamp": "^3.0.3",
"digest-fetch": "^1.2.1", "digest-fetch": "^1.2.1",
"eslint": "^8.4.1", "eslint": "^8.5.0",
"express": "^4.17.1", "express": "^4.17.2",
"express-ipfilter": "^1.2.0", "express-ipfilter": "^1.2.0",
"feedme": "^2.0.2", "feedme": "^2.0.2",
"helmet": "^4.6.0", "helmet": "^4.6.0",

View File

@ -4,6 +4,7 @@ const { _electron: electron } = require("playwright");
let electronApp = null; let electronApp = null;
process.env.MM_CONFIG_FILE = "tests/configs/modules/display.js"; process.env.MM_CONFIG_FILE = "tests/configs/modules/display.js";
jest.retryTimes(3);
describe("Electron app environment", function () { describe("Electron app environment", function () {
beforeEach(async function () { beforeEach(async function () {