From 3a5a48e2fb76dbdba63fc9b7bb91c2199290b078 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=98=99=E2=97=A6=20The=20Tablet=20=E2=9D=80=20GamerGirla?= =?UTF-8?q?ndCo=20=E2=97=A6=E2=9D=A7?= Date: Wed, 23 Oct 2024 18:12:00 -0400 Subject: [PATCH] remove wait for load event --- packages/obsidian-testing-framework/src/index.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/packages/obsidian-testing-framework/src/index.ts b/packages/obsidian-testing-framework/src/index.ts index 357aeb9..08a2da5 100644 --- a/packages/obsidian-testing-framework/src/index.ts +++ b/packages/obsidian-testing-framework/src/index.ts @@ -113,7 +113,6 @@ const obsidianTestFixtures: Fixtures = { const windows = electronApp.windows(); // console.log("windows", windows); let page = windows[windows.length - 1]!; - await page.waitForEvent("load"); await page.waitForLoadState("domcontentloaded"); page = electronApp.windows()[electronApp.windows().length - 1]!; await page.waitForEvent("load");