Skip to content

468 — should test required fields

Description

Verifies that the "Add team 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 Team roles tab selected and the breadcrumb confirms "Team roles".

Steps

  1. Click Add team 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 367)