454 — should create project role with labels and edit it¶
Description¶
Verifies that a Project role can be created with a title, description, three labels and ultimate 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 Project roles tab selected and the breadcrumb confirms "Project roles".
Steps¶
- Click Add project role, enter a two-word title, a seven-word description, attach all three labels, and toggle the Ultimate permission for projects.
- 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 61)