super-productivity/e2e/fixtures
johannesjo f1d9161d13 test(e2e): dismiss devError native dialogs so sync tests don't hang
devError() in non-production builds opens window.alert("devERR: …") then
window.confirm("Throw an error for error? ––– …"). Both are page-blocking,
so any Playwright call (goto/click/waitFor) hangs until the dialog is
handled. After the project-task-page signal subscription added in
34af7b103, selectProjectById fires devError whenever sync removes the
project the user is currently viewing — which masters' webdav delete-
cascade and supersync legacy-migration tests trigger by design.

Add installDevErrorDialogHandler that matches the exact two devError
shapes and dismisses them, then wire it into the four E2E page-creation
sites: the default test fixture, setupSyncClient, createSimulatedClient,
and createLegacyMigratedClient. Production code is untouched.

Also carve out the devError confirm in setupSyncClient's strict confirm
validator so it doesn't raise an unhandled rejection alongside our
dismiss, and drop the unused createLegacyMigratedClientNoDialogHandler
wrapper (it now lies — the underlying helper does install a handler).
2026-05-23 23:13:09 +02:00
..
legacy-archive-subtasks-backup.json test(archive): add failing tests for legacy import subtask loss 2025-12-26 16:02:34 +01:00
legacy-full-migration-backup.json test(e2e): add legacy data migration E2E test 2026-01-09 12:58:58 +01:00
legacy-migration-client-a.json test(e2e): add legacy migration sync tests for WebDAV and SuperSync 2026-01-13 18:26:45 +01:00
legacy-migration-client-b.json test(e2e): add legacy migration sync tests for WebDAV and SuperSync 2026-01-13 18:26:45 +01:00
legacy-migration-collision-a.json test(e2e): add legacy migration sync tests for WebDAV and SuperSync 2026-01-13 18:26:45 +01:00
legacy-migration-collision-b.json test(e2e): add legacy migration sync tests for WebDAV and SuperSync 2026-01-13 18:26:45 +01:00
supersync.fixture.ts test(e2e): harden failure signals and provider gates (#7753) 2026-05-23 20:33:04 +02:00
test-backup-encrypted.json test(e2e): fix skipped tests and add encrypted backup import test 2026-01-29 16:32:29 +01:00
test-backup-with-archive.json test(e2e): add E2E tests for recent sync bug fixes 2026-01-29 16:32:29 +01:00
test-backup-with-archives.json fix(backup): persist archive data to IndexedDB on local import 2026-01-08 16:12:13 +01:00
test-backup.json test(sync): re-enable sync after import in tests and adjust baseURL fallback 2025-12-22 12:08:04 +01:00
test.fixture.ts test(e2e): dismiss devError native dialogs so sync tests don't hang 2026-05-23 23:13:09 +02:00
webdav.fixture.ts test(e2e): harden failure signals and provider gates (#7753) 2026-05-23 20:33:04 +02:00