351 — should test required fields¶
Description¶
Verifies that the reset-password page surfaces required-field warnings for both the new-password and confirm-password fields when the user submits without entering anything.
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.
- Leave the new-password field empty.
- Leave the confirm-password field empty.
- Click the "Reset password" button. Expected: a required-field warning is shown for the password field. Expected: a required-field warning is shown for the password-confirmation field.
Related¶
- Spec:
playwright/tests/integration/login.spec.ts(line 208)