347 — should fail forgot password when added wrong confirm password¶
Description¶
Verifies that the reset-password page blocks submission when the new password and its confirmation don't match, showing a "passwords do not match" warning.
Preconditions¶
- Signed-out browser.
- An existing test account exists and the forgot-password flow has already been initiated (the
forgotPasswordFlowfixture provides a validresetLink).
Steps¶
- Open the reset link from the email in the browser. Expected: the "Reset password" page is shown.
- Enter
test-password2into the new password field. - Enter
sdoifdsfsd(a different value) into the confirm-password field. - Click the "Reset password" button. Expected: the form does not submit and a "passwords do not match" warning is shown.
Related¶
- Spec:
playwright/tests/integration/login.spec.ts(line 153)