Reading path: AI Website Testing
Test password reset as a complete recovery journey: request a link, open the message, set a new password, and sign in through the normal login page. Add expired and reused links, multiple requests, mobile behavior, and session checks. Use authorized test accounts and separate browser observations from security controls that require backend verification.
Define completion beyond the confirmation screen.
Cover expired links and interrupted recovery.
Keep functional QA and specialist security review distinct.
Start With An Account-Recovery Contract
AI-assisted development can produce a convincing form quickly, but the form is only one part of recovery. Email routing, application URLs, validation, token handling, and session behavior must work together. This article proposes an original acceptance plan for a team shipping an app; it does not report a measured defect rate for AI-generated code.
Create two synthetic accounts you control, a separate mailbox for the trial, and a declared test build. Define the expected message, link lifetime, successful destination, notification behavior, and session policy with the engineering owner. Do not guess a universal expiry duration or test another person’s account.
Use OWASP To Identify Security Review Questions
OWASP’s Forgot Password Cheat Sheet recommends consistent responses for existing and nonexistent accounts, reset tokens that expire and work once, protections against repeated requests, normal sign-in after reset, and a defined approach to existing sessions. Treat these as review questions for your implementation. A browser-only pass cannot establish token randomness or secure storage.
Keep implementation verification with the engineers who can inspect it. The practical browser cases below help reveal broken journeys and collect reproducible evidence; they are not a substitute for an application security assessment.
Sources: OWASP: Forgot Password Cheat Sheet
Run The Complete Happy Path
Request recovery for the first test account, record when the message arrives, and open the link in the intended environment. Verify that the page clearly identifies its purpose without exposing secrets. Enter a permitted new test password, submit once, and follow the normal login route.
Check that the new password works and that the previous password no longer authenticates the account. Keep credentials and raw reset URLs out of the report. Record a redacted message identifier, the build, and result instead. A success banner without a successful new login leaves the journey unverified.
Check Expired, Reused, And Interrupted Links
Use the approved test setup to obtain an expired link, then open it. The page should explain the situation and offer a clear route to request another. After a successful reset, try the consumed link again. Capture the visible result, and have engineering verify enforcement at the service layer.
Interrupt the journey before submission, reopen it on another authorized test device, and repeat after a network interruption. Define expected behavior for multiple outstanding requests before judging which link should remain valid. Your product’s rule needs to be explicit and consistently enforced.
| Test state | Review question | Evidence |
|---|---|---|
| Valid request | Can the user complete recovery and log in? | Redacted message and final login |
| Expired link | Is a new request easy to start? | Error wording and recovery route |
| Consumed link | Is reuse rejected? | Visible state and service verification |
| Multiple requests | Does behavior match the documented rule? | Request order and link outcomes |
| Interrupted submission | Can the user recover without confusion? | Timeline and resulting account state |
Inspect The Journey Across Email And Mobile
Open the test email on a mobile device and follow the link through its actual browser handoff. Check whether the reset page opens on the expected domain, whether the keyboard hides validation, and whether a password manager can work with the form. Test the deployed environment rather than only localhost.
Review instructions before the user submits an invalid password. Keep entered values from being lost unnecessarily when validation fails. Check visible focus, labels, and the route back to login. Do not interpret an agent’s difficulty with an email handoff as proof that all human users face the same problem; reproduce it directly.
Hand Engineering A Finding They Can Verify
A strong report distinguishes three layers: what appeared in the browser, whether login succeeded, and which service controls were inspected. For example, “the expired link showed a blank page on the test build” is a precise observation. “Recovery is insecure” requires evidence about the relevant control and its impact.
Use Cohorvix to organize supported browser journey observations and retain the account-recovery checks requiring separate authorized access. After a repair, rerun the exact failure and the normal recovery route. Confirm that fixing an error state has not made valid recovery impossible.
- Test accounts and environment are documented.
- New login is verified after recovery.
- Expired and consumed links have defined results.
- Reports exclude credentials and usable reset tokens.
- Backend verification gaps are explicitly recorded.
Common Questions
Can a browser test prove reset tokens are secure?
No. Token generation, storage, and service-level enforcement need appropriate engineering and security verification.
What is the minimum complete recovery test?
Request a reset, receive and use the link, set a new password, and verify normal login with the new credentials.
Should reset links appear in bug reports?
Do not include usable links or secrets. Redact sensitive values and preserve only the evidence needed to reproduce the authorized case.
Sources & Further Reading
The checklists and examples are Cohorvix’s suggested workflows. References support the specific technical guidance described above; they do not endorse Cohorvix.
- OWASP: Forgot Password Cheat Sheet
Primary security reference checked November 5, 2026. Browser cases are a bounded editorial QA plan, not a security certification.
Published by Cohorvix Editorial with AI assistance. Product scope is described in Our Method. Educational guidance is not a full accessibility, security, or performance audit.
Put The Guide To Work
Choose a focused next step for your product.



