test(electron): require confirmed process exit before relaunch

This commit is contained in:
4gray committed 2026-09-22 21:34:46 +02:00
1 parent 19ff9a9e5b
commit f48be2ac63
6 files changed
+79 -60

No files matched your search

+3
View File
@@ -75,6 +75,9 @@ only `electronApp.process()` can leave Electron holding the temporary profile
and make the next launch exit on the single-instance lock. The E2E workflow
checks this against a real Windows shell and child process. Test cleanup must
target only its own launch PID, never all Electron or IPTVnator processes.
Cleanup confirms process exit even if Playwright's close promise fails or
never settles. If termination fails, it retries and then throws instead of
allowing a relaunch against a potentially locked profile.
The Linux portable build uploads `packaged-frame-copy-smoke` reports and traces
even when the smoke fails. Check the paused-frame screenshot and trace before