Test passwordless login
Test passwordless or magic-link login with DoesQA inboxes and Mail Test Steps.
Passwordless login sends the user a link or code by email. The pattern matches registration verification and forgotten-password flows: enter a DoesQA address, wait for the message, open it, and continue from the link.
Use the Flow Builder for this walkthrough.
What you need
A login page that offers passwordless or magic-link sign-in
A URL your Test Runners can reach from the internet
Prefer $testEmail so the link lands in this Test Case inbox. See Email testing in DoesQA for inbox choices.
Build the Flow
Open the login page
Start with Open on your passwordless login URL.
Enter the DoesQA address
Add Set value on the email field. Use $testEmail.
Request the link
Add Touch on the control that sends the magic link or passwordless email.
Wait for the email
Add Wait for email. Set Inbox to Test Case. Filter on Subject or From when the inbox may hold more than one message.
Open the email and follow the link
Add Open email, then Touch on the sign-in link in the message. Add Close inbox when you return to the application.
Add a Check step on the signed-in screen your product shows after a successful link.
Related
Last updated