348 — should fail forgot password when new password is short¶
Description¶
Verifies that the reset-password page enforces the minimum password length and shows the "password too short" warning when the user enters a short value.
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
tes(3 characters) into the new password field. - Enter
tesinto the confirm-password field. - Click the "Reset password" button. Expected: the form does not submit and a short-password warning is shown next to the password field.
Related¶
- Spec:
playwright/tests/integration/login.spec.ts(line 164)