super-productivity/e2e/tests/sync
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
..
ENCRYPTION-E2E-STATUS.md refactor(sync): consolidate LegacySyncProvider into SyncProviderId 2026-02-15 11:19:22 +01:00
import-sync.spec.ts test(sync): add encryption and supersync e2e test coverage 2026-03-01 21:27:08 +01:00
supersync-account-deletion.spec.ts fix(e2e): fix failing and flaky supersync tests 2026-02-08 14:16:06 +01:00
supersync-account-reset.spec.ts test(sync): add encryption and supersync e2e test coverage 2026-03-01 21:27:08 +01:00
supersync-advanced-edge-cases.spec.ts fix(test): improve e2e sync test stability 2026-01-14 16:16:08 +01:00
supersync-advanced.spec.ts test(e2e): reduce supersync test flakiness 2026-01-26 13:48:10 +01:00
supersync-archive-conflict.spec.ts refactor(sync): rename "stale" to "superseded" across sync/operation domain 2026-01-30 16:59:40 +01:00
supersync-archive-data-sync.spec.ts fix(sync): preserve archived tasks during server migration and backup 2026-01-14 13:45:27 +01:00
supersync-archive-subtasks.spec.ts fix(e2e): improve test stability for parallel execution 2026-01-04 17:35:47 +01:00
supersync-backup-import-id-mismatch.spec.ts test(e2e): fix supersync tests to navigate to correct settings tabs 2026-01-18 12:46:20 +01:00
supersync-backup-recovery.spec.ts test(e2e): fix supersync tests to navigate to correct settings tabs 2026-01-18 12:46:20 +01:00
supersync-cascade-delete.spec.ts test(e2e): fix reliability issues in supersync E2E tests 2026-02-13 14:06:43 +01:00
supersync-compaction.spec.ts chore(e2e): remove unused eslint-disable directive 2026-02-12 16:43:11 +01:00
supersync-concurrent-import.spec.ts refactor(sync): extract shared utils, add response validators, and improve error handling 2026-02-05 21:02:30 +01:00
supersync-constraint-error-recovery.spec.ts fix(tests): improve synchronization tests and increase timeout for IndexedDB operations 2026-02-06 20:10:21 +01:00
supersync-cross-entity.spec.ts fix(e2e): improve test stability for parallel execution 2026-01-04 17:35:47 +01:00
supersync-daily-summary.spec.ts fix(e2e): improve test stability for parallel execution 2026-01-04 17:35:47 +01:00
supersync-edge-cases.spec.ts test(e2e): fix encryption button timing and drag-handle strict mode violation 2026-03-04 19:38:37 +01:00
supersync-encryption-conflict.spec.ts fix(sync): return existingClock in conflict rejections to fix infinite loop 2026-01-25 18:10:08 +01:00
supersync-encryption-enable-disable.spec.ts fix(e2e): fix failing and flaky supersync tests 2026-02-08 14:16:06 +01:00
supersync-encryption-password-change.spec.ts fix(test): update E2E selectors for decrypt dialog and fix worklog task lookup 2026-01-30 20:09:11 +01:00
supersync-encryption-password-preservation.spec.ts fix(e2e): fix failing and flaky supersync tests 2026-02-08 14:16:06 +01:00
supersync-encryption-prompt-loop.spec.ts test(sync): add encryption and supersync e2e test coverage 2026-03-01 21:27:08 +01:00
supersync-encryption.spec.ts refactor(sync): unify encryption state handling 2026-01-28 21:55:04 +01:00
supersync-error-handling.spec.ts test(e2e): expand completed tasks section in three-client convergence test 2026-02-15 11:19:22 +01:00
supersync-error-scenarios.spec.ts test(sync): add encryption and supersync e2e test coverage 2026-03-01 21:27:08 +01:00
supersync-global-config-edge-cases.spec.ts test(e2e): strengthen assertions in supersync E2E tests 2026-02-12 16:42:07 +01:00
supersync-import-clean-server-state.spec.ts refactor(sync): rename "stale" to "superseded" across sync/operation domain 2026-01-30 16:59:40 +01:00
supersync-import-clean-slate.spec.ts test(sync): add encryption and supersync e2e test coverage 2026-03-01 21:27:08 +01:00
supersync-import-conflict-dialog.spec.ts fix(test): add skipSpinnerCheck to USE_REMOTE waitForSyncToComplete calls 2026-02-02 21:31:25 +01:00
supersync-import-encryption-change.spec.ts test(e2e): fix skipped tests and add encrypted backup import test 2026-01-29 16:32:29 +01:00
supersync-import-encryption-preserve.spec.ts test(sync): add E2E tests for max retry rejection and import encryption preservation 2026-03-01 21:27:08 +01:00
supersync-import-other-client-ops.spec.ts test(e2e): fix reliability issues in supersync E2E tests 2026-02-13 14:06:43 +01:00
supersync-import-same-client-ops.spec.ts test(e2e): fix reliability issues in supersync E2E tests 2026-02-13 14:06:43 +01:00
supersync-keep-local-archive-preservation.spec.ts fix(test): add skipSpinnerCheck to USE_REMOTE waitForSyncToComplete calls 2026-02-02 21:31:25 +01:00
supersync-lastseq-preservation.spec.ts test(e2e): fix reliability issues in supersync E2E tests 2026-02-13 14:06:43 +01:00
supersync-late-join.spec.ts fix(e2e): improve test stability for parallel execution 2026-01-04 17:35:47 +01:00
supersync-legacy-migration-sync.spec.ts fix: profile system bugs (#6614) 2026-02-23 17:43:04 +01:00
supersync-lww-conflict.spec.ts test(e2e): fix flaky LWW delete-vs-update conflict tests 2026-02-16 11:07:52 +01:00
supersync-lww-singleton.spec.ts fix(sync): harden vector clock sanitization and improve E2E test robustness 2026-02-12 16:27:56 +01:00
supersync-max-retry-rejection.spec.ts Fix immutable caldav task (#6705) 2026-03-03 15:05:57 +01:00
supersync-models.spec.ts fix(e2e): reduce task count in tag deletion test to prevent timeout 2026-01-14 14:22:15 +01:00
supersync-multi-tab.spec.ts test(e2e): fix failing supersync E2E tests 2026-02-12 18:02:14 +01:00
supersync-network-failure.spec.ts test(supersync): fix flaky E2E tests with timing adjustments 2026-01-24 21:14:57 +01:00
supersync-no-op-sync.spec.ts test(sync): add encryption and supersync e2e test coverage 2026-03-01 21:27:08 +01:00
supersync-planner.spec.ts fix(e2e): improve test stability for parallel execution 2026-01-04 17:35:47 +01:00
supersync-provider-switch-to-supersync.spec.ts test(sync): add encryption and supersync e2e test coverage 2026-03-01 21:27:08 +01:00
supersync-provider-switch.spec.ts test(e2e): fix reliability issues in supersync E2E tests 2026-02-13 14:06:43 +01:00
supersync-reenable-and-account-switch.spec.ts test(sync): add encryption and supersync e2e test coverage 2026-03-01 21:27:08 +01:00
supersync-repeat-task-advanced.spec.ts fix(e2e): improve test stability for parallel execution 2026-01-04 17:35:47 +01:00
supersync-repeat-task.spec.ts fix(sync): only show import conflict dialog for local unsynced imports 2026-01-11 11:22:32 +01:00
supersync-server-migration-abort.spec.ts test(sync): add encryption and supersync e2e test coverage 2026-03-01 21:27:08 +01:00
supersync-server-migration.spec.ts test(supersync): fix flaky E2E tests with timing adjustments 2026-01-24 21:14:57 +01:00
supersync-simple-counter.spec.ts test(e2e): fix simple counter tests and flaky sync tests 2026-02-13 17:54:06 +01:00
supersync-snapshot-vector-clock.spec.ts fix(e2e): improve test stability for parallel execution 2026-01-04 17:35:47 +01:00
supersync-stress.spec.ts refactor(sync): rename "stale" to "superseded" across sync/operation domain 2026-01-30 16:59:40 +01:00
supersync-superseded-clock-regression.spec.ts refactor(sync): rename "stale" to "superseded" across sync/operation domain 2026-01-30 16:59:40 +01:00
supersync-task-ordering.spec.ts fix(e2e): stabilize flaky supersync tests with better waiting strategies 2026-01-13 18:26:45 +01:00
supersync-time-tracking-advanced.spec.ts test(e2e): reduce supersync test flakiness 2026-01-26 13:48:10 +01:00
supersync-token-expiry.spec.ts test(e2e): fix failing supersync E2E tests 2026-02-12 18:02:14 +01:00
supersync-vector-clock-max-size.spec.ts fix(sync): remove dead code, add defensive checks, and clean up vector clock logic 2026-02-02 17:15:13 +01:00
supersync-vector-clock-pruning.spec.ts refactor(sync): reduce MAX_VECTOR_CLOCK_SIZE from 30 to 20 2026-02-12 16:27:55 +01:00
supersync-worklog.spec.ts test(e2e): reduce supersync test flakiness 2026-01-26 13:48:10 +01:00
supersync-wrong-password-error.spec.ts fix(test): update E2E selectors for decrypt dialog and fix worklog task lookup 2026-01-30 20:09:11 +01:00
supersync.spec.ts fix(e2e): fix failing and flaky supersync tests 2026-02-08 14:16:06 +01:00
webdav-encryption-conflict-use-local.spec.ts Fix immutable caldav task (#6705) 2026-03-03 15:05:57 +01:00
webdav-encryption-disable.spec.ts fix(e2e): resolve flaky WebDAV tests and fix encryption test failures 2026-01-28 21:55:04 +01:00
webdav-first-sync-conflict.spec.ts fix(e2e): reduce flakiness and speed up WebDAV sync tests 2026-02-03 17:53:07 +01:00
webdav-legacy-migration-sync.spec.ts fix: profile system bugs (#6614) 2026-02-23 17:43:04 +01:00
webdav-provider-switch.spec.ts test(sync): add E2E test for fresh-client sync duplication bug (b2b63da9) 2026-02-03 14:38:05 +01:00
webdav-single-client-rapid-sync.spec.ts fix(e2e): reduce flakiness and speed up WebDAV sync tests 2026-02-03 17:53:07 +01:00
webdav-sync-advanced.spec.ts fix(ci): exclude WebDAV and SuperSync tests from build workflow 2026-01-21 20:42:50 +01:00
webdav-sync-archive.spec.ts fix(e2e): reduce flakiness and speed up WebDAV sync tests 2026-02-03 17:53:07 +01:00
webdav-sync-delete-cascade.spec.ts fix(e2e): resolve flaky WebDAV tests and fix encryption test failures 2026-01-28 21:55:04 +01:00
webdav-sync-error-handling.spec.ts fix(ci): exclude WebDAV and SuperSync tests from build workflow 2026-01-21 20:42:50 +01:00
webdav-sync-expansion.spec.ts fix(ci): exclude WebDAV and SuperSync tests from build workflow 2026-01-21 20:42:50 +01:00
webdav-sync-full.spec.ts fix(ci): exclude WebDAV and SuperSync tests from build workflow 2026-01-21 20:42:50 +01:00
webdav-sync-tags.spec.ts fix(ci): exclude WebDAV and SuperSync tests from build workflow 2026-01-21 20:42:50 +01:00
webdav-sync-task-order.spec.ts fix(ci): exclude WebDAV and SuperSync tests from build workflow 2026-01-21 20:42:50 +01:00
webdav-sync-today-tag.spec.ts fix(e2e): reduce flakiness and speed up WebDAV sync tests 2026-02-03 17:53:07 +01:00