super-productivity/e2e/utils
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
..
assertions.ts refactor(e2e): simplify improvements per KISS/YAGNI review 2026-01-06 12:46:20 +01:00
check-webdav.ts test(e2e): try to fix e2e tests 2025-12-10 21:26:48 +01:00
config-helpers.ts fix(sync): harden vector clock sanitization and improve E2E test robustness 2026-02-12 16:27:56 +01:00
e2e-constants.ts perf(e2e): optimize polling intervals in helpers 2026-01-18 15:58:46 +01:00
element-helpers.ts refactor(e2e): extract ensureGlobalAddTaskBarOpen helper to reduce code duplication 2026-01-16 13:35:59 +01:00
index.ts refactor(e2e): simplify improvements per KISS/YAGNI review 2026-01-06 12:46:20 +01:00
legacy-migration-helpers.ts test(e2e): add legacy migration sync tests for WebDAV and SuperSync 2026-01-13 18:26:45 +01:00
schedule-task-helper.ts fix(e2e): fix schedule dialog submit button selector 2026-01-21 14:30:24 +01:00
supersync-assertions.ts fix(e2e): improve test stability for parallel execution 2026-01-04 17:35:47 +01:00
supersync-helpers.ts test(e2e): fix encryption button timing and drag-handle strict mode violation 2026-03-04 19:38:37 +01:00
sync-helpers.ts fix(e2e): resolve flaky WebDAV tests and fix encryption test failures 2026-01-28 21:55:04 +01:00
time-input-helper.ts refactor(e2e): replace waitForTimeout with condition-based waits 2026-01-03 15:29:38 +01:00
tour-helpers.ts fix(e2e): dismiss Welcome intro dialog before Shepherd tour 2026-01-09 18:28:18 +01:00
waits.ts test(e2e): fix reliability issues in supersync E2E tests 2026-02-13 14:06:43 +01:00