super-productivity/e2e
Johannes Millan 4f2dbcdaa7 feat(sync): handle auth errors for account deletion scenarios
When a SuperSync account is deleted, clients now properly detect
authentication failures and prompt for reconfiguration:

- Add _checkHttpStatus() helper to SuperSyncProvider that throws
  AuthFailSPError on 401/403 responses
- Clear cached credentials on auth failure to allow reconfiguration
- Add DELETE /api/test/user/:userId endpoint for E2E testing
- Add deleteTestUser() helper in supersync-helpers.ts
- Add E2E tests for account deletion and reconfiguration scenarios

The existing SyncWrapperService already handles AuthFailSPError by
showing a snackbar with "Configure" action, so no UI changes needed.
2026-01-02 15:48:17 +01:00
..
constants refactor(e2e): improve test reliability with deterministic waits 2025-12-11 18:47:56 +01:00
fixtures test(archive): add failing tests for legacy import subtask loss 2025-12-26 16:02:34 +01:00
helpers test: make e2e less flaky 2025-11-14 15:43:22 +01:00
pages test: fix e2e 2026-01-02 12:53:30 +01:00
tests feat(sync): handle auth errors for account deletion scenarios 2026-01-02 15:48:17 +01:00
utils feat(sync): handle auth errors for account deletion scenarios 2026-01-02 15:48:17 +01:00
.gitignore build(ci): resolve e2e webserver timeout issues 2025-08-03 12:36:02 +02:00
global-setup.ts test(e2e): remove console.log statements and replace console.error with throw 2025-08-02 12:25:21 +02:00
playwright.config.ts build: more tests in parallel 2025-12-28 15:07:11 +01:00
tsconfig.json refactor: move tests 2025-08-02 11:37:25 +02:00