-
-
Notifications
You must be signed in to change notification settings - Fork 281
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Calling testWithSpectron() opens infinite windows #467
Comments
@thislooksfun any luck with that? I am also stumbling on the exact same issue. |
If you in hurry, just like me. npm i -D git://github.com/ekoeryanto/vue-cli-plugin-electron-builder#patch-1 |
I had the same issue and couldn't find any solution until now. Your patch solved it nicely :) |
V2.0 of this plugin includes an upgrade to spectron. I will release it soon, but for now: |
For me only the @ekoeryanto patch works, the alpha version still opens infinite windows until timeout. |
With the v2.0.0 beta, you pass the spectron module to the |
Since nklayman/vue-cli-plugin-electron-builder#467 was fixed `testWithSpectron()` works again, but now `stopServe()` is broken.
Since nklayman/vue-cli-plugin-electron-builder#467 was fixed `testWithSpectron()` works again, but now `stopServe()` is broken.
Since nklayman/vue-cli-plugin-electron-builder#467 was fixed `testWithSpectron()` works again, but now `stopServe()` is broken.
Describe the bug
Calling
testWithSpectron()
hangs the tests, and starts opening as many Electron windows as it can until the tests time out.To Reproduce
Run the following spec:
Expected behavior
I expected the output
And for it to only open one Electron window (or maybe even 0, if it should be headless).
Instead, it opens 5-10 windows (just keeps going until Mocha times out).
Screenshots
Environment (please complete the following information):
Additional context
N/A
The text was updated successfully, but these errors were encountered: