Authentication and Login E2E Tests
End-to-end test specifications and coverage checklist for authentication and registration systems.
On this page
This document details the end-to-end test specifications and coverage checklist for the SveltyCMS authentication and registration flows.
Coverage Checklist
- Standard email/password login
- First-user registration (via invitation tokens)
- OAuth signup and authentication (Google, GitHub)
- Accessibility (Axe-Core, WCAG 2.2 AA / WCAG 3.0 focus traversal)
- RTL directionality audit & layout mirroring
- Two-factor authentication (2FA) verification - Gaps identified, pending integration
- Rate limiting & account lockout - Gaps identified, pending integration
Associated Tests
- login.spec.ts
- signup.spec.ts
- oauth.spec.ts
- accessibility.spec.ts
- branding.spec.ts
- extended-auth.spec.ts
Implementation Details
Authentication tests leverage Playwright’s storage state hooks to provision sessions once and cache them. Accessibility tests execute Axe checks against all responsive breakpoints and check keyboard navigation focus traversal.
Next Steps
Was this page helpful?