-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrun_e2e_tests.sh
More file actions
executable file
·26 lines (22 loc) · 760 Bytes
/
run_e2e_tests.sh
File metadata and controls
executable file
·26 lines (22 loc) · 760 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#!/bin/bash
# Fully automated E2E test runner
# No manual setup required!
echo "🧪 CyperSecurity Platform - Fully Automated E2E Tests"
echo "====================================================="
echo ""
echo "This will automatically:"
echo " 1. ✅ Start backend (Python/FastAPI)"
echo " 2. ✅ Start frontend (React)"
echo " 3. ✅ Wait for services to be ready"
echo " 4. ✅ Seed test data"
echo " 5. ✅ Run all E2E tests"
echo " 6. ✅ Clean up and stop services"
echo ""
echo "No manual setup required - just sit back and watch!"
echo ""
# Activate virtual environment
source .venv/bin/activate
# Run pytest (conftest.py handles everything else)
pytest e2e_tests/ -v --tb=short
echo ""
echo "✅ Tests complete! Services have been stopped."