sighs
Some checks failed
Playwright Tests / test (push) Has been cancelled

This commit is contained in:
parent 9d2355a9fe
commit 949ee31a40
Signed by: tablet
GPG Key ID: 924A5F6AF051E87C

@ -53,13 +53,14 @@ const obsidianTestFixtures: Fixtures<ObsidianTestFixtures> = {
}); });
await run(electronApp); await run(electronApp);
await electronApp.close();
}, },
{ timeout: 60000 }, { timeout: 60000 },
], ],
page: [ page: [
async ({ electronApp }, run) => { async ({ electronApp }, run) => {
const page = await electronApp.firstWindow(); const page = await electronApp.firstWindow();
await page.waitForEvent("load") // await page.waitForEvent("load")
await page.waitForLoadState("domcontentloaded"); await page.waitForLoadState("domcontentloaded");
await waitForIndexingComplete(await getApp(page)); await waitForIndexingComplete(await getApp(page));
page.on("console", async (msg) => { page.on("console", async (msg) => {
@ -68,7 +69,6 @@ const obsidianTestFixtures: Fixtures<ObsidianTestFixtures> = {
); );
}); });
await run(page); await run(page);
await electronApp.close();
}, },
{ timeout: 30000 }, { timeout: 30000 },
], ],