super-productivity/e2e/tests/task-basic
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
..
task-crud.spec.ts fix(e2e): use correct selector for confirm button in task-crud test 2026-01-09 17:18:36 +01:00
task-delete-confirmation.spec.ts test(e2e): fix encryption button timing and drag-handle strict mode violation 2026-03-04 19:38:37 +01:00