mirror of
https://github.com/johannesjo/super-productivity.git
synced 2026-07-24 00:17:23 +00:00
Fixed 6 flaky E2E tests in focus mode by addressing race conditions with countdown animation and session state transitions. Changes: - Added pointer-events: none to countdown component to prevent blocking clicks during fade-out animation (195ms) - Replaced arbitrary timeouts with explicit waits for session-in-progress indicator (complete session button) in all focus mode tests - Tests now wait for countdown animation to fully complete before interacting with UI elements Root causes: 1. Countdown overlay intercepted pointer events during fade animation, causing clicks to fail intermittently 2. 900ms delay between countdown completion and session start caused race conditions when using fixed timeouts Affected tests: - focus-mode-break.spec.ts (4 tests) - flowtime-timer-bug-5117.spec.ts (2 tests) All tests now pass consistently without retries. |
||
|---|---|---|
| .. | ||
| app-features.spec.ts | ||
| focus-mode-break.spec.ts | ||
| focus-mode-feature.spec.ts | ||
| time-tracking-feature.spec.ts | ||