diff --git a/packages/obsidian-testing-framework/src/index.ts b/packages/obsidian-testing-framework/src/index.ts index 1f70d9f..c05a18e 100644 --- a/packages/obsidian-testing-framework/src/index.ts +++ b/packages/obsidian-testing-framework/src/index.ts @@ -47,7 +47,8 @@ async function selectNewVault(page: Page, vaultPath: string) { const promise = page.waitForEvent("filechooser"); await btn.click(); const chooser = await promise; - await chooser.setFiles(vaultPath); + let el = chooser.element(); + console.log("chooser el", el); } catch (e) { console.debug( "congratulations, you don't have to choose a vault manually!"