-
Notifications
You must be signed in to change notification settings - Fork 228
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
app.stop() not work, electron process stay in the background after the mocha test program exits #1043
Comments
Hi, "dependencies": { |
Spectron will be officially deprecated, I switched to Playwright. Please find my sample code https://github.com/tanshuai/electron-playwright-e2e-test-quick-start
|
Clone https://github.com/electron/electron-quick-start, then install the spectron and add test code by follow instructions from https://github.com/electron-userland/spectron#usage .
The test code runs successfully, but the electron process stay in the background after the mocha test program exits.
After running the test multiple times, too many processes are staying in the background.
Repo of the code to reproduce this issue: https://github.com/tanshuai/spectron-quick-start
Screenshot of this issue:
Node.js 14.16.0, Chromium 91.0.4472.164, and Electron 13.5.2, Spectron 15.0.0, macOS 11.6
The text was updated successfully, but these errors were encountered: