Skip to content

508 — should check required fields

Description

Verifies that required-field validation works inside an existing team — both for the team Title in Edit-team and for the Members field in Add-members (the Role field is optional).

Preconditions

  • Signed-in admin user (the team owner).
  • A team has just been created and the team detail is open.

Steps

  1. Click "Edit team", clear the Title field, and click Save. Expected: a "Required" helper text appears under the Title field and the team is not saved.
  2. Click Cancel to close the edit form.
  3. Click "Add members" and click Save with the form empty. Expected: a "Required" helper text appears under the Members field; no error appears for the Roles field because the role is optional.
  • Spec: playwright/tests/integration/teams.spec.ts (line 358)