Commit Graph

4 Commits

Author SHA1 Message Date
Claude Loop
795c9dce20 docs: update progress documentation with E2E intercept fixes
- Document root cause of API intercept timeout failures
- Explain sequential fallback pattern solution
- Update mission status with latest achievements
- Record expected impact of timeout logic fixes

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-21 03:27:08 +00:00
Claude Loop
1ddd72c042 fix: resolve E2E test API intercept timeout issues
- Fixed loadAllTasks and loadTasks intercept logic to wait for either request (not both)
- Changed cy.wait(['@loadTasks', '@loadAllTasks']) to proper fallback pattern
- Added timeout for loadBuckets intercept in project redirect test
- Reduced timeouts to 10s for faster failure feedback and prevent CI hangs

The root issue was tests waiting for multiple API calls when only one would ever occur.
This caused cy.wait() to timeout as it waited indefinitely for requests that would never happen.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-21 03:25:56 +00:00
Claude Loop
176df7ba34 docs: update progress documentation with latest E2E test improvements
- Document enhanced API intercept patterns with specific HTTP methods and full paths
- Record timeout optimizations and improved synchronization strategies
- Detail specific fixes for task/overview.spec.ts and task/subtask-duplicates.spec.ts
- Update status to reflect additional improvements beyond the initial 70% success

These documentation updates reflect the ongoing effort to improve E2E test
reliability through better API intercept patterns and enhanced wait conditions.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-21 00:25:22 +00:00
Claude Loop
0872511707 fix: standardize E2E test API intercept patterns to resolve timeout issues
Replace inconsistent Cypress.env('API_URL') + path patterns with wildcard
patterns (**/path) for improved reliability in CI environments.

Issues addressed:
- API intercept timeouts for loadTasks and loadBuckets routes
- Inconsistent URL matching causing cy.wait() failures
- Environment variable dependency reducing test reliability

Changes made:
- project-view-table.spec.ts: All 3 tests now use wildcard patterns
- project-view-list.spec.ts: Updated static and dynamic project patterns
- project-view-kanban.spec.ts: Standardized 3 loadTasks intercepts
- project.spec.ts: Fixed loadBuckets wildcard pattern
- task/overview.spec.ts: Updated dynamic project ID patterns

Expected impact: Reduced E2E test timeout failures in CI environment.
All lint, typecheck, and unit tests (690/690) continue to pass.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-20 23:57:35 +00:00