What interviewers expect
Interviewers look for a complete recovery lifecycle: request reset, receive email, open tokenized link, set a new password, invalidate risky sessions, handle stale links, and keep responses safe from enumeration.
QA interview guide
Password reset is an account recovery feature and a security boundary. A strong answer proves that legitimate users can recover access while attackers cannot abuse reset links, tokens, or account information.
Interviewers look for a complete recovery lifecycle: request reset, receive email, open tokenized link, set a new password, invalidate risky sessions, handle stale links, and keep responses safe from enumeration.
Checklist
“existing email, expired token, weak password”
This mentions useful cases, but it misses generic responses, multiple reset requests, stale links, session invalidation, email delivery failures, backend errors, and accessibility.
“I would test known and unknown email requests with generic responses, reset email delivery, link expiry, single-use tokens, reused and invalid tokens, weak and mismatched passwords, old password rejection, session and refresh-token invalidation, rate limiting, token leakage, multiple reset requests, stale links, cross-device use, locked/deleted accounts, network and email-provider failures, audit events, clear recovery messages, keyboard navigation, labels, focus states, and screen reader error announcements.”
Write your own answer, get scored, see what you missed, and compare it with junior, middle, and senior QA thinking.