Files
BMAD-METHOD/bmad/bmm/testarch/knowledge/email-auth.md
2025-10-12 01:39:24 -05:00

646 B
Raw Blame History

Email-Based Authentication Testing

  • Use services like Mailosaur or in-house SMTP capture; extract magic links via regex or HTML parsing helpers.
  • Preserve browser storage (local/session) when processing links—restore state before visiting the authenticated page.
  • Cache email payloads with cypress-data-session or equivalent so retries dont exhaust inbox quotas.
  • Cover negative cases: expired links, reused links, and multiple requests in rapid succession.
  • Ensure the workflow logs the email ID and link for troubleshooting, but scrub PII before committing artifacts.

Source: Email authentication blog, Murat testing toolkit.