OTP testing
Verifying sign-in or confirmation flows that use a one-time password sent by SMS or email.
Updated
What it means
The test needs to receive the right code for the right session and enter it before it expires. Dedicated inboxes, leased numbers, or backend hooks can prevent one parallel run from consuming another run’s code.
In practice
Request a sign-in code, retrieve the message for the current test user, enter the code, and verify that sign-in succeeds.
Key takeaway
Keep codes and recipients scoped to the current test.
With Autosana
Describe the journey in natural language, make the expected outcome explicit, and verify the result. The documentation covers the configuration and execution details for this workflow.