super-productivity/e2e/tests
Johannes Millan 96576a7ff1 test(focus-mode): add E2E tests for Pomodoro break timing
Relates to #6044

Added comprehensive E2E tests to verify the correct Pomodoro break pattern:
- Sessions 1-3 should trigger short breaks
- Session 4 should trigger a LONG break (critical test for bug #6044)
- Session 5 should trigger a short break (not long)
- Session 8 should trigger a LONG break (second cycle)

**Test Coverage:**
- Individual test for long break after 4th session
- Individual test for short break after 5th session
- Individual test for long break after 8th session
- Full pattern verification: S S S L S S S L

**Test Structure:**
The tests follow the existing E2E test patterns and include:
- Helper functions for common operations (openFocusModeWithTask, startFocusSession, etc.)
- Break type detection to verify short vs long breaks
- Screenshot capture for visual verification
- Console logging for debugging and verification

**Additional Changes:**
- Added screenshots/ directory for test artifacts
- Updated e2e/.gitignore to exclude generated screenshots

These E2E tests complement the 131 passing unit tests to ensure the bug fix works correctly in the actual application.
2026-01-20 17:07:23 +01:00
..
add-task-bar refactor(e2e): extract ensureGlobalAddTaskBarOpen helper to reduce code duplication 2026-01-16 13:35:59 +01:00
app-features test(e2e): fix flaky focus mode tests 2026-01-16 22:34:50 +01:00
autocomplete Merge branch 'master' into feat/operation-logs 2026-01-03 18:51:51 +01:00
boards test(e2e): add comprehensive E2E test coverage for core features 2026-01-12 15:11:27 +01:00
break test(e2e): add comprehensive E2E test coverage for core features 2026-01-12 15:11:27 +01:00
daily-summary refactor(e2e): replace waitForTimeout with condition-based waits 2026-01-03 15:29:38 +01:00
focus-mode test(focus-mode): add E2E tests for Pomodoro break timing 2026-01-20 17:07:23 +01:00
import-export fix(backup): persist archive data to IndexedDB on local import 2026-01-08 16:12:13 +01:00
issue-provider-panel refactor(e2e): replace waitForTimeout with condition-based waits 2026-01-03 15:29:38 +01:00
keyboard test(e2e): add comprehensive E2E test coverage for core features 2026-01-12 15:11:27 +01:00
menu chore: address code review feedback 2026-01-15 10:57:43 +01:00
migration test(e2e): add legacy data migration E2E test 2026-01-09 12:58:58 +01:00
navigation test(e2e): add comprehensive E2E test coverage for core features 2026-01-12 15:11:27 +01:00
notes test(e2e): add comprehensive E2E test coverage for core features 2026-01-12 15:11:27 +01:00
performance test(e2e): disable failing for now 2025-09-21 00:59:11 +02:00
planner chore(e2e): remove broken/empty skipped tests 2026-01-03 17:49:43 +01:00
plugins test(e2e): fix additional tests for tabbed config page 2026-01-17 13:26:57 +01:00
project chore(e2e): remove broken/empty skipped tests 2026-01-03 17:49:43 +01:00
recurring fix(repeat): add event loop yield and isPaused filter (#5976) 2026-01-13 18:26:45 +01:00
reminders test(e2e): fix additional tests for tabbed config page 2026-01-17 13:26:57 +01:00
schedule fix(schedule): maintain visibility during task overlap on schedule (#5887) 2026-01-10 15:47:57 +08:00
search refactor(e2e): extract ensureGlobalAddTaskBarOpen helper to reduce code duplication 2026-01-16 13:35:59 +01:00
settings test(e2e): add comprehensive E2E test coverage for core features 2026-01-12 15:11:27 +01:00
short-syntax refactor(e2e): replace waitForTimeout with condition-based waits 2026-01-03 15:29:38 +01:00
sync perf(e2e): reduce arbitrary delays in tests 2026-01-18 15:56:38 +01:00
tags test(e2e): add comprehensive E2E test coverage for core features 2026-01-12 15:11:27 +01:00
task-basic Merge branch 'master' into feat/operation-logs 2026-01-10 13:06:20 +01:00
task-detail fix(e2e): use fill() for time input in task-detail tests 2026-01-06 13:45:30 +01:00
task-dragdrop refactor(e2e): replace waitForTimeout with condition-based waits 2026-01-03 15:29:38 +01:00
task-list-basic Merge branch 'master' into feat/operation-logs 2026-01-03 18:51:51 +01:00
work-view test(e2e): fix add-to-today subtask tests 2026-01-16 22:34:50 +01:00
workflow test(e2e): add comprehensive E2E test coverage for core features 2026-01-12 15:11:27 +01:00
worklog test(e2e): add comprehensive E2E test coverage for core features 2026-01-12 15:11:27 +01:00
all-basic-routes-without-error.spec.ts refactor(e2e): replace waitForTimeout with condition-based waits 2026-01-03 15:29:38 +01:00