Skip to content

456 — should test required fields

Description

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

Steps

  1. Click Add project 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 114)