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