spaceagetv / electron-playwright-helpers

Helper functions for running Electron end-to-end tests using Playwright.
MIT License
55 stars 4 forks source link

out directory not found #5

Closed seddik-st closed 2 years ago

seddik-st commented 2 years ago

i'm using findLatestBuild to get app info of theia-electron however an error is thrown because out directory is not found. Any idea ?

jjeff commented 2 years ago

I don't quite understand your question. Are you trying to test a distributed application? Or one that you are creating yourself? If you already know the path to the app, you can just use parseElectronApp().

I recently committed a pull-request to allow a directory argument for findLatestBuild(). This should show up on npmjs.com in the next day or two. Is this what you need?

seddik11 commented 2 years ago

exactly, because my app is not built in "out" directory. so adding it as argument would be very helpful. Thank you

jjeff commented 2 years ago

Great! New version 1.1.2 was just released.