Skip to content

Documentation

Authentication and Login E2E Tests

End-to-end test specifications and coverage checklist for authentication and registration systems.

6/13/2026
1 min read Edit on GitHub

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

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

testinge2eplaywrightauthlogin
Was this page helpful?