test(e2e): add isolated browser journey and cleanup supervision

Add a fake-only end-to-end stack, Firefox journey, and bounded process cleanup for normal, failed, and interrupted runs.

Refs #12

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
2026-11-20 23:39:02 +01:00
parent 8f42c30ec6
commit 4459a81206
28 changed files with 1647 additions and 51 deletions

6
backend/scripts/test-e2e.sh Executable file
View File

@ -0,0 +1,6 @@
#!/usr/bin/env bash
set -euo pipefail
project_root="$(cd "$(dirname "${BASH_SOURCE[0]}")/../.." && pwd)"
# exec preserves our parent (make) identity; Python -E ignores bundled-app
# PYTHONHOME/PYTHONPATH without altering the caller's environment.
exec python3 -E -B "$project_root/backend/scripts/e2e-supervisor.py" "$project_root"