Skip to content

345 — should show invalid email in reset password

Description

Verifies that the "Forgot password" page rejects a malformed email and shows an "invalid email" warning instead of sending a reset link.

Preconditions

  • Signed-out browser on the landing page (login form visible).

Steps

  1. Click the "Forgot password?" link on the login page. Expected: the reset-password (request) page is shown.
  2. Enter dd (not a valid email) into the email field.
  3. Click the "Send reset email" button. Expected: no email is sent and an "invalid email" warning is shown next to the email field.
  • Spec: playwright/tests/integration/login.spec.ts (line 131)