Commit Graph

5 Commits

Author SHA1 Message Date
Claude Loop
9d68e282a7 fix: improve E2E test reliability with reduced timeouts and better API intercept handling
- Reduce individual API wait timeouts from 30s to 15s to prevent long hangs
- Add project loading intercepts to improve synchronization
- Reduce global Cypress timeouts to fail faster instead of hanging
- Apply improved error handling in task overview and subtask tests
- Update timeout values in cypress.config.ts for better CI performance

This should prevent tests from timing out at GitHub Actions 25min limit.
2025-09-21 02:59:09 +00:00
Claude Loop
00d4698f7e fix: resolve E2E test reliability issues with standardized intercepts and timeouts
This commit fixes several critical issues causing E2E test failures and timeouts:

**Authentication fixes:**
- Remove cross-spec session caching to prevent state conflicts in parallel test execution
- Changed `login(user, true)` to `login(user, false)` in createFakeUserAndLogin()

**API intercept standardization:**
- Standardized all API intercept patterns to use `/api/v1/` prefix consistently
- Fixed mixed patterns: `**/projects/*/views/*/tasks**` → `**/api/v1/projects/*/views/*/tasks**`
- Added explicit GET/PUT method specifications to prevent intercept misses

**Timeout reduction:**
- Reduced excessive timeouts from 60-120s to 30-60s in cypress.config.ts
- Reduced test-level timeouts from 30s to 15s where appropriate
- Changed defaultCommandTimeout: 60000 → 30000, requestTimeout: 120000 → 60000

**Test isolation improvements:**
- Added proper beforeEach cleanup in overview.spec.ts to prevent data leakage
- Removed redundant individual truncate() calls in favor of systematic cleanup

**Files changed:**
- cypress.config.ts: Reduced global timeout values
- cypress/support/authenticateUser.ts: Fixed cross-spec session caching
- cypress/e2e/project/*.spec.ts: Standardized intercept patterns, reduced timeouts
- cypress/e2e/task/*.spec.ts: Added cleanup hooks, standardized intercepts
- cypress/e2e/sharing/linkShare.spec.ts: Fixed intercept patterns and timeouts

These changes address the root causes of the 25-minute timeouts and "3 failed" issues
seen in CI, improving test reliability and execution speed.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-21 00:54:52 +00:00
Claude Loop
a3f3f8eb60 fix: improve E2E test stability and performance
- Increased Cypress timeouts: defaultCommandTimeout to 60s, requestTimeout to 120s
- Added responseTimeout and pageLoadTimeout (120s each) for slow CI environments
- Enhanced task creation and management tests with proper API intercepts and waits
- Added visibility checks before interactions to prevent race conditions
- Improved drag-and-drop test stability with explicit API waits and force option
- Enhanced image upload test with longer timeouts for CI environments
- Added proper API loading waits for kanban view tests

These changes address timeout issues in CI by providing more time for operations
to complete and ensuring proper sequencing of test actions.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-20 22:57:33 +00:00
claude in a loop
ec5c265dee fix: prepare test running 2025-09-20 00:09:52 +00:00
Dominik Pschenitschni
bf28a0c795 fix(ts): align with create-vue setup 2024-06-19 14:05:41 +00:00