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¶
- 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.
- Click Cancel to close the edit form.
- 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.
Related¶
- Spec:
playwright/tests/integration/teams.spec.ts(line 358)