super-productivity/e2e/utils
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
..
check-webdav.ts test(e2e): try to fix e2e tests 2025-12-10 21:26:48 +01:00
supersync-helpers.ts feat(sync): handle auth errors for account deletion scenarios 2026-01-02 15:48:17 +01:00
sync-helpers.ts test(webdav): add e2e tests 2025-12-29 12:48:36 +01:00
waits.ts fix(e2e): improve app loading detection and fix server TypeScript errors 2026-01-02 15:11:16 +01:00