how to write cypress e2e tests for supabase's magic link login authentication (react)? #7839
Replies: 2 comments 2 replies
-
I'm new to Cypress but running into this exact issue. So far I've found this article, which seems like it might do try trick: |
Beta Was this translation helpful? Give feedback.
-
Currently facing the same issue, I am running a local instance of supabase in Docker and magic links are sent to Inbucket email testing service that is running in parallel. I'm new to cypress and have not found a solution outside of getting the magic link url with the token and hardcoding it into the spec for the test to visit. |
Beta Was this translation helpful? Give feedback.
-
Anyone knows how to write cypress e2e tests for retrieving the magic link after keying in the email field?
I cant seem to go beyond the login page since I cant automate the authentication, as this requires going to the user's keyed-in email to retrieve the unique magic link
.
Beta Was this translation helpful? Give feedback.
All reactions