Skip to content

335 — should not sign up with short password

Description

Verifies that the sign-up form rejects passwords that are too short and shows the appropriate "password too short" warning instead of creating an account.

Preconditions

  • Signed-out browser on the landing page.
  • Sign-up page is open (reached via the "Sign up" button on the landing page).

Steps

  1. Enter a random valid email into the email field.
  2. Enter dd (2 characters) into the password field.
  3. Tick the "I agree with terms" checkbox.
  4. Click the "Sign up" button. Expected: the form does not submit and a short-password warning is shown next to the password field.
  • Spec: playwright/tests/integration/login.spec.ts (line 27)