Commit Graph

1 Commits

Author SHA1 Message Date
Andrés Eduardo García Márquez 3c0181b30d test(e2e): add Playwright tests for auth and enrollment
New E2E test suites:

activation.spec.ts:
- Account activation flow with valid code
- Invalid/expired code handling
- Resend code functionality
- Redirect behavior for inactive accounts

auth.spec.ts:
- Login with valid/invalid credentials
- Registration flow
- Password reset flow
- Session persistence

enrollment-restrictions.spec.ts:
- Maximum 3 subjects per student
- Same professor restriction
- Available subjects filtering

role-access.spec.ts:
- Admin-only routes protection
- Student dashboard access
- Guest redirection to login

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-09 07:43:13 -05:00