Closed christian-bromann closed 8 months ago
Hi! I'm facing the same problem with my project, is there any workaround to this problem? Thanks in advance :)
I wonder how this passed the CJS E2Es...
@MohammedChaibi we should have a release out soon to fix this.
@goosewobbler That's great, thank you!
@MohammedChaibi just updating here - the solution is likely more complicated than expected, it will take some time. You can work around this by either bundling your app in a similar way to that shown in the repo examples, or by downgrading to v5.4.0 - you will not be able to mock electron APIs if you downgrade.
https://github.com/webdriverio-community/wdio-electron-service/tree/main/example https://github.com/webdriverio-community/wdio-electron-service/tree/main/example-cjs https://github.com/webdriverio-community/wdio-electron-service/tree/main/example-electron-builder
Also you can watch #421 as the solution to the issue progresses.
Thank you for the update! I will try your suggestions tomorrow and see what fits best :)
Discussed in https://github.com/webdriverio-community/wdio-electron-service/discussions/413