Mordsith
Mordsith5mo ago

Convex Auth e2e test with Playwright

I currently use the Email OTP provider, I couldn't figure a way to get verification code within the test environment without exposing this code somewhere in memory that is globally available but unsafe. Migrating from Clerk, Clerk solved this by doing 2 things - Every email login with clerk_test in the email is treated as a fake user.... For example michael+clerk_test@example.com - Every user with that kind of email address can verify auth with 424242 (This code works for only users with clerk_test in their email As a fallback, I switched to using Anonymous Provider for test envoronment but it would be beneficial if we can test actual authentication flow like a real user. @Michal Srb
0 Replies
No replies yetBe the first to reply to this messageJoin

Did you find this page helpful?