Skip to content

336 — should not sign up with wrong email

Description

Verifies that the sign-up form rejects malformed email addresses and shows the "invalid email" 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 string of letters (no @, not a valid email) into the email field.
  2. Enter strong-password 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 an "invalid email" warning is shown next to the email field.
  • Spec: playwright/tests/integration/login.spec.ts (line 35)