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¶
- Enter a random string of letters (no
@, not a valid email) into the email field. - Enter
strong-passwordinto the password field. - Tick the "I agree with terms" checkbox.
- Click the "Sign up" button. Expected: the form does not submit and an "invalid email" warning is shown next to the email field.
Related¶
- Spec:
playwright/tests/integration/login.spec.ts(line 35)