Skip to content

584 — should show wrong number format

Description

Verifies that the Add User form rejects an invalid phone number and shows the "wrong phone number" inline validation message when the user submits an obviously malformed number.

Preconditions

  • Signed-in admin on a freshly seeded organization.
  • The Users page is open.

Steps

  1. Click "Add user" and switch the modal to the detailed view.
  2. In the phone-number field, enter the malformed value 09999999999999.
  3. Click Create. Expected: the submission is blocked and the phone field displays the "wrong phone number format" validation error.
  • Spec: playwright/tests/integration/user.spec.ts (line 324)