This commit is contained in:
parent
d0cd37f04d
commit
c32d8397c9
@ -45,7 +45,6 @@ const obsidianTestFixtures: Fixtures<ObsidianTestFixtures> = {
|
||||
!!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<ObsidianTestFixtures> = {
|
||||
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) => {
|
||||
|
Loading…
Reference in New Issue
Block a user