# \#automated-testing

**URL:** https://community.auth0.com/tag/automated-testing/1670.md

[Latest](https://community.auth0.com/latest.md) · [Categories](https://community.auth0.com/categories.md) · [Tags](https://community.auth0.com/tags.md)

---

## [E2E Testing with Playwright — How to Handle MFA/Email OTP for a Test User?](https://community.auth0.com/t/e2e-testing-with-playwright-how-to-handle-mfa-email-otp-for-a-test-user/202092)

<div class="topic-metadata">

**Author:** [@anndy25](https://community.auth0.com/u/anndy25)\
**Replies:** 1\
**Last updated:** [July 29, 2026, 10:05pm UTC](https://community.auth0.com/t/e2e-testing-with-playwright-how-to-handle-mfa-email-otp-for-a-test-user/202092 "2026-07-29T22:05:33Z")

</div>

I’m building E2E tests with Playwright and want to cover the login flow with Email OTP MFA. Is it possible to set a static/mock Email OTP code for a specific test user from the Auth0 Dashboard? Or is there any other way…
