Email testing guides
How to test the emails your app sends — codes, links, signups — without a shared inbox and without sleep. Nothing goes up here until the test in it has passed against the real service.
- Testing email verification in Playwright
A Playwright test for a signup that emails a 6-digit code, run against a real mail server: one inbox per test, no waitForTimeout, magic links and CI included.
- Testing email verification in Cypress
Test a signup that emails a code in Cypress: a cy.task keeps the API key in Node, blocks until the email lands and returns the OTP. Run against a real mail server.
- Reading an emailed OTP in Selenium with Python
Read an emailed OTP in a Selenium test with Python and pytest: an inbox per test as a fixture, one HTTP call that waits for the email. Run against a real mail server.