super-productivity/e2e/tests/sync
Johannes Millan 49ef7ee7a7 test(e2e): improve LWW race test timing for better stability
Increased operation flush waits and assertion timeouts in both LWW tests:

Delete vs Update race test:
- DELETE flush: 50ms → 150ms
- UPDATE flush: 500ms → 1000ms
- Assertion timeouts: 10s → 15s

Recreated task with dueDay=today test:
- Added missing DELETE flush wait: 150ms (was missing entirely)
- Added missing UPDATE flush wait: 1000ms (was missing entirely)
- Assertion timeouts: 10s → 15s

These changes ensure operations are fully persisted to IndexedDB before sync,
preventing timestamp races that caused intermittent LWW conflict resolution
failures. The TODAY tag test was particularly affected as it lacked any flush
waits.

Test results: 90% pass rate (18/20) vs previous ~80%, with 100% pass rate
when run individually. Remaining 10% failure rate appears to be resource
contention when running multiple tests in parallel.
2026-01-23 14:44:44 +01:00
..
import-sync.spec.ts fix(sync): prevent SYNC_IMPORT filtering concurrent ops in file-based sync 2026-01-07 20:39:13 +01:00
supersync-account-deletion.spec.ts fix(sync): prevent SYNC_IMPORT filtering concurrent ops in file-based sync 2026-01-07 20:39:13 +01:00
supersync-account-reset.spec.ts feat(server): add Account Settings page with reset and delete options 2026-01-05 12:54:53 +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 fix(sync): prevent SYNC_IMPORT filtering concurrent ops in file-based sync 2026-01-07 20:39:13 +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-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 flaky SuperSync undo test with increased timeouts 2026-01-22 21:37:42 +01:00
supersync-encryption-password-change.spec.ts fix(sync): prevent SYNC_IMPORT filtering concurrent ops in file-based sync 2026-01-07 20:39:13 +01:00
supersync-encryption.spec.ts fix(e2e): stabilize flaky supersync tests with better waiting strategies 2026-01-13 18:26:45 +01:00
supersync-error-handling.spec.ts fix(e2e): improve test stability for parallel execution 2026-01-04 17:35:47 +01:00
supersync-import-clean-slate.spec.ts fix(sync): prevent SYNC_IMPORT filtering concurrent ops in file-based sync 2026-01-07 20:39:13 +01:00
supersync-import-conflict-dialog.spec.ts fix(test): improve e2e sync test stability 2026-01-14 16:16:08 +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 test(e2e): add legacy migration sync tests for WebDAV and SuperSync 2026-01-13 18:26:45 +01:00
supersync-lww-conflict.spec.ts test(e2e): improve LWW race test timing for better stability 2026-01-23 14:44:44 +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-network-failure.spec.ts fix(test): add type filtering to dialog handlers to avoid conflicts 2026-01-11 12:03:58 +01:00
supersync-planner.spec.ts fix(e2e): improve test stability for parallel execution 2026-01-04 17:35:47 +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.spec.ts fix(e2e): stabilize flaky supersync tag deletion and migration tests 2026-01-09 14:17:30 +01:00
supersync-simple-counter.spec.ts test(e2e): fix supersync tests to navigate to correct settings tabs 2026-01-18 12:46:20 +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-stale-clock-regression.spec.ts fix(e2e): fix stale-clock regression tests timeout after import 2026-01-07 20:58:18 +01:00
supersync-stress.spec.ts fix(e2e): improve test stability for parallel execution 2026-01-04 17:35:47 +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 perf(e2e): reduce arbitrary delays in tests 2026-01-18 15:56:38 +01:00
supersync-worklog.spec.ts fix(e2e): improve test stability for parallel execution 2026-01-04 17:35:47 +01:00
supersync.spec.ts perf(e2e): reduce arbitrary delays in tests 2026-01-18 15:56:38 +01:00
webdav-first-sync-conflict.spec.ts fix(ci): exclude WebDAV and SuperSync tests from build workflow 2026-01-21 20:42:50 +01:00
webdav-legacy-migration-sync.spec.ts fix(ci): exclude WebDAV and SuperSync tests from build workflow 2026-01-21 20:42:50 +01:00
webdav-provider-switch.spec.ts perf(e2e): cache WebDAV health checks at worker level 2026-01-21 19:16:58 +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 test(e2e): fix flaky tests and improve timeout handling 2026-01-22 21:29:25 +01:00
webdav-sync-delete-cascade.spec.ts perf(e2e): cache WebDAV health checks at worker level 2026-01-21 19:16:58 +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 perf(e2e): cache WebDAV health checks at worker level 2026-01-21 19:16:58 +01:00