Skip to content

337 — should not sign without agree with terms

Description

Verifies that the sign-up form blocks submission when the "I agree with terms" checkbox is left unchecked, even if email and password are valid.

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 strong-password into the password field.
  3. Leave the "I agree with terms" checkbox unchecked.
  4. Click the "Sign up" button. Expected: the form does not submit and a required-field warning containing "I agree with" is shown next to the terms checkbox.
  • Spec: playwright/tests/integration/login.spec.ts (line 43)