update playwright to v1.29.1 and other dependencies (#2980)

see title, fixes https://github.com/MichMich/MagicMirror/issues/2969
This commit is contained in:
Karsten Hassel
2022-12-22 16:40:53 +01:00
committed by GitHub
parent 2fec314ff5
commit 76d9042e60
6 changed files with 714 additions and 434 deletions

View File

@@ -1,4 +1,5 @@
const helpers = require("./helpers/global-setup");
const events = require("events");
describe("Electron app environment", () => {
beforeEach(async () => {
@@ -26,6 +27,7 @@ describe("Development console tests", () => {
});
it("should open browserwindow and dev console", async () => {
while (global.electronApp.windows().length < 2) await events.once(global.electronApp, "window");
const pageArray = await global.electronApp.windows();
expect(pageArray.length).toBe(2);
for (const page of pageArray) {