466 — should create team role with labels and edit it¶
Description¶
Verifies that a Team role can be created with a title, description, three labels and a team-role permission, and that the role can subsequently be reopened and renamed with a new title/description that is persisted.
Preconditions¶
- Signed-in admin on a fresh organization with three pre-seeded labels (label1, label2, label3).
- Settings → Roles area is open with the Team roles tab selected and the breadcrumb confirms "Team roles".
Steps¶
- Click Add team role, enter a two-word title, a seven-word description, attach all three labels, and pick the team-role permission.
- Click Create. → Expected: a "Created" toast appears and the new role row shows the title with all three labels attached.
- Open the newly-created role from the list. → Expected: the modal shows the original title, description and the three labels (closed/collapsed view confirms the label count).
- Replace the title and description with new two- and seven-word values and click Save. → Expected: an "Updated" toast appears and the role row now shows the new title.
- Reopen the role from the list. → Expected: the modal shows the updated title and updated description (changes were persisted).
Related¶
- Spec:
playwright/tests/integration/roles.spec.ts(line 314)