From c32d8397c9b011a5ac3b958a98a951d40791a89c 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 15:22:14 -0400 Subject: [PATCH] sighs --- packages/obsidian-testing-framework/src/index.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/obsidian-testing-framework/src/index.ts b/packages/obsidian-testing-framework/src/index.ts index 33995bd..3e5836e 100644 --- a/packages/obsidian-testing-framework/src/index.ts +++ b/packages/obsidian-testing-framework/src/index.ts @@ -45,7 +45,6 @@ const obsidianTestFixtures: Fixtures = { !!vault && `obsidian://open?vault=${encodeURI(vault)}`, ].filter((a) => !!a) as string[], }); - await electronApp.waitForEvent("window"); electronApp.on("console", async (msg) => { console.log( ...(await Promise.all(msg.args().map((a) => a.jsonValue()))) @@ -60,7 +59,7 @@ const obsidianTestFixtures: Fixtures = { page: [ async ({ electronApp }, run) => { const page = await electronApp.firstWindow(); - // await page.waitForEvent("load") + await page.waitForEvent("load") await page.waitForLoadState("domcontentloaded"); await waitForIndexingComplete(await getApp(page)); page.on("console", async (msg) => {