Phase 0.3: Update E2E tests for cleanup

- Delete counter.spec.ts and random-jobs.spec.ts
- Rewrite permissions.spec.ts for new permission structure
- Update scripts/e2e.sh: remove worker.py execution
- Update generated api.ts types
This commit is contained in:
counterweight 2025-12-22 18:13:24 +01:00
parent a5c1eccb4b
commit c89e0312fa
Signed by: counterweight
GPG key ID: 883EDBAA726BD96C
5 changed files with 72 additions and 816 deletions

View file

@ -6,7 +6,6 @@ cd "$(dirname "$0")/.."
# Cleanup function to kill background processes
cleanup() {
kill $BACKEND_PID 2>/dev/null || true
kill $WORKER_PID 2>/dev/null || true
}
# Ensure cleanup runs on exit (normal, error, or interrupt)
@ -33,10 +32,6 @@ cd ..
cd backend
uv run uvicorn main:app --port 8000 --log-level warning &
BACKEND_PID=$!
# Start worker for job processing
uv run python worker.py &
WORKER_PID=$!
cd ..
# Wait for backend