This commit is contained in:
parent
9d2355a9fe
commit
949ee31a40
@ -53,13 +53,14 @@ const obsidianTestFixtures: Fixtures<ObsidianTestFixtures> = {
|
||||
});
|
||||
|
||||
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<ObsidianTestFixtures> = {
|
||||
);
|
||||
});
|
||||
await run(page);
|
||||
await electronApp.close();
|
||||
},
|
||||
{ timeout: 30000 },
|
||||
],
|
||||
|
Loading…
Reference in New Issue
Block a user