super-productivity/e2e/pages
Johannes Millan 7164a5e44b test(e2e): fix encryption button timing and drag-handle strict mode violation
Two root causes for failing E2E tests in CI:

1. Encryption button not visible after provider selection: The async
   provider change listener loads config from IndexedDB and updates the
   Formly model, but the 1000ms waitForTimeout was insufficient in CI.
   Replace with polling (200ms intervals, 10s timeout) that waits for
   either enable or disable encryption button to become visible.
   Also removes ~130 lines of leftover debug logging from disableEncryption().

2. Drag-handle strict mode violation on parent tasks with subtasks:
   task.locator('.drag-handle') matched both the parent's drag handle
   and nested subtask drag handles. Add .first() to all drag-handle
   locator usages to target only the parent task's own handle.
2026-03-04 19:38:37 +01:00
..
base.page.ts test(e2e): fix supersync test flakiness from navigation blocking and unhandled dialogs 2026-02-12 20:01:14 +01:00
dialog.page.ts feat(e2e): streamline e2e test development with improved infrastructure 2026-01-03 11:21:40 +01:00
import.page.ts fix(sync): ensure all client IDs in vectorClock are protected during SYNC_IMPORT operations 2026-01-27 18:25:46 +01:00
index.ts docs(e2e): add CLAUDE.md reference and barrel export for easier test creation 2026-01-03 13:27:24 +01:00
note.page.ts test(e2e): fix flaky tests with better waits and focus handling 2026-03-03 21:46:11 +01:00
planner.page.ts test(e2e): fix 12 flaky tests by removing networkidle waits and fixing plugin setup 2026-02-09 17:55:12 +01:00
project.page.ts fix(tests): improve synchronization tests and increase timeout for IndexedDB operations 2026-02-06 20:10:21 +01:00
schedule.page.ts test(webdav): add e2e tests 2025-12-29 12:48:36 +01:00
settings.page.ts test(e2e): update page objects for tabbed config page UI 2026-01-17 13:20:35 +01:00
side-nav.page.ts refactor: cleanup 2025-12-10 15:29:03 +01:00
supersync.page.ts test(e2e): fix encryption button timing and drag-handle strict mode violation 2026-03-04 19:38:37 +01:00
sync.page.ts test(sync): add encryption and gap detection tests, fix E2E navigation race 2026-02-15 11:19:22 +01:00
tag.page.ts test(e2e): fix flaky tests with better waits and focus handling 2026-03-03 21:46:11 +01:00
task.page.ts test: improve e2e 2026-01-17 15:46:49 +01:00
work-view.page.ts test(e2e): fix encryption button timing and drag-handle strict mode violation 2026-03-04 19:38:37 +01:00