We are testing our Electron app's exit functionality.
It seems when we call app.quit in Electron, the UI closes, but the electron processes sticks around.
We are wondering if we need to handle the Electron close event on the Playwright side and close the application explicitly as well.
Edit: Trying to handle the close event with electronApplication.on('close', callback) when app.quit() is called does not trigger the callback.
We are testing our Electron app's exit functionality.
It seems when we call
app.quitin Electron, the UI closes, but the electron processes sticks around.We are wondering if we need to handle the Electron close event on the Playwright side and close the application explicitly as well.
Edit: Trying to handle the
closeevent withelectronApplication.on('close', callback)whenapp.quit()is called does not trigger the callback.