Skip to content

464 — should test required fields

Description

Verifies that the "Add client role" form blocks submission when the title and permission selection are empty, surfacing both required-field messages.

Preconditions

  • Signed-in admin on a fresh organization.
  • Settings → Roles area is open with the Client roles tab selected and the breadcrumb confirms "Client roles".

Steps

  1. Click Add client role to open the create modal.
  2. Click Create without filling anything in. → Expected: the form does not submit; the Title field shows the "required" validation message and the Permission selector shows a "select a permission" validation message.
  • Spec: playwright/tests/integration/roles.spec.ts (line 282)