From 66b0fd41b366b9533158dad9f79ebe3a57eaba6b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=98=99=E2=97=A6=20The=20Tablet=20=E2=9D=80=20GamerGirla?= =?UTF-8?q?ndCo=20=E2=97=A6=E2=9D=A7?= Date: Wed, 23 Oct 2024 17:08:33 -0400 Subject: [PATCH] idk --- packages/obsidian-testing-framework/src/index.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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!"