From 949ee31a404803094d428d337650677e9e3ab8cc 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:10:44 -0400 Subject: [PATCH] sighs --- packages/obsidian-testing-framework/src/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/obsidian-testing-framework/src/index.ts b/packages/obsidian-testing-framework/src/index.ts index 610128d..2d419af 100644 --- a/packages/obsidian-testing-framework/src/index.ts +++ b/packages/obsidian-testing-framework/src/index.ts @@ -53,13 +53,14 @@ const obsidianTestFixtures: Fixtures = { }); await run(electronApp); + await electronApp.close(); }, { timeout: 60000 }, ], 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) => { @@ -68,7 +69,6 @@ const obsidianTestFixtures: Fixtures = { ); }); await run(page); - await electronApp.close(); }, { timeout: 30000 }, ],