Some checks are pending
Go Benchmark / Performance Regression Check (push) Waiting to run
Cerberus Integration / Cerberus Security Stack Integration (push) Waiting to run
Upload Coverage to Codecov / Backend Codecov Upload (push) Waiting to run
Upload Coverage to Codecov / Frontend Codecov Upload (push) Waiting to run
CodeQL - Analyze / CodeQL analysis (go) (push) Waiting to run
CodeQL - Analyze / CodeQL analysis (javascript-typescript) (push) Waiting to run
CrowdSec Integration / CrowdSec Bouncer Integration (push) Waiting to run
Docker Build, Publish & Test / build-and-push (push) Waiting to run
Docker Build, Publish & Test / Security Scan PR Image (push) Blocked by required conditions
Quality Checks / Auth Route Protection Contract (push) Waiting to run
Quality Checks / Codecov Trigger/Comment Parity Guard (push) Waiting to run
Quality Checks / Backend (Go) (push) Waiting to run
Quality Checks / Frontend (React) (push) Waiting to run
Rate Limit integration / Rate Limiting Integration (push) Waiting to run
Security Scan (PR) / Trivy Binary Scan (push) Waiting to run
Supply Chain Verification (PR) / Verify Supply Chain (push) Waiting to run
WAF integration / Coraza WAF Integration (push) Waiting to run
53 lines
1.6 KiB
Markdown
Executable File
53 lines
1.6 KiB
Markdown
Executable File
# Sprint 1: E2E Test Improvements
|
|
|
|
*Last Updated: February 2, 2026*
|
|
|
|
## What We Fixed
|
|
|
|
During Sprint 1, we resolved critical issues affecting E2E test reliability and performance.
|
|
|
|
### Problem: Tests Were Timing Out
|
|
|
|
**What was happening**: Some tests would hang indefinitely or timeout after 30 seconds, especially in CI/CD pipelines.
|
|
|
|
**Root cause**:
|
|
|
|
- Config reload overlay was blocking test interactions
|
|
- Feature flag propagation was too slow during high load
|
|
- API polling happened unnecessarily for every test
|
|
|
|
**What we did**:
|
|
|
|
1. Added smart detection to wait for config reloads to complete
|
|
2. Increased timeouts to accommodate slower environments
|
|
3. Implemented request caching to reduce redundant API calls
|
|
|
|
**Result**: Test pass rate increased from 96% to 100% ✅
|
|
|
|
### Performance Improvements
|
|
|
|
- **Before**: System settings tests took 23 minutes
|
|
- **After**: Same tests now complete in 16 minutes
|
|
- **Improvement**: 31% faster execution
|
|
|
|
### What You'll Notice
|
|
|
|
- Tests are more reliable and less likely to fail randomly
|
|
- CI/CD pipelines complete faster
|
|
- Fewer "Test timeout" errors in GitHub Actions logs
|
|
|
|
### For Developers
|
|
|
|
If you're writing new E2E tests, the helpers in `tests/utils/wait-helpers.ts` and `tests/utils/ui-helpers.ts` now automatically handle:
|
|
|
|
- Config reload overlays
|
|
- Feature flag propagation
|
|
- Switch component interactions
|
|
|
|
Follow the examples in `tests/settings/system-settings.spec.ts` for best practices.
|
|
|
|
## Need Help?
|
|
|
|
- See [E2E Testing Troubleshooting Guide](../troubleshooting/e2e-tests.md)
|
|
- Review [Testing Best Practices](../testing/README.md)
|