chore: Enhance documentation for E2E testing:
- Added clarity and structure to README files, including recent updates and getting started sections. - Improved manual verification documentation for CrowdSec authentication, emphasizing expected outputs and success criteria. - Updated debugging guide with detailed output examples and automatic trace capture information. - Refined best practices for E2E tests, focusing on efficient polling, locator strategies, and state management. - Documented triage report for DNS Provider feature tests, highlighting issues fixed and test results before and after improvements. - Revised E2E test writing guide to include when to use specific helper functions and patterns for better test reliability. - Enhanced troubleshooting documentation with clear resolutions for common issues, including timeout and token configuration problems. - Updated tests README to provide quick links and best practices for writing robust tests.
This commit is contained in:
@@ -11,11 +11,13 @@ During Sprint 1, we resolved critical issues affecting E2E test reliability and
|
||||
**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
|
||||
|
||||
Reference in New Issue
Block a user