Add comprehensive e2e tests for all auth procedures
Tests cover all login scenarios from docs/initial-app.md: - Signup with password and passkey - Password login with trusted device (immediate completion) - Password login with untrusted device (email confirmation) - Full passkey authentication flow - User with no auth methods (stays pending) - Non-existent email (anti-enumeration with fake token) - Email verification and resend flows - Password reset with session revocation - Logout All auth procedures now have 100% function coverage. 127 tests passing across 3 e2e test files. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
1985
apps/api-server/src/__tests__/e2e/auth.test.ts
Normal file
1985
apps/api-server/src/__tests__/e2e/auth.test.ts
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user