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 }, ],