mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-08-21 12:55:22 +00:00
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:
@@ -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) {
|
||||
|
Reference in New Issue
Block a user