190 — should create user, delete his role and save with no role¶
Description¶
Verifies that a client member can be saved without any role assigned: starting from a member with one role, removing that role via Edit Member persists the change and the Roles column falls back to a - placeholder.
Preconditions¶
- Signed-in user (the owner) inside a freshly registered organization
- A client and five additional employees have been seeded via the API
- Two client roles have been pre-created
- Browser is on the client's Members tab
Steps¶
- Click Add members, add employee 1 with Role 1, then Save. Expected: a success toast appears and the list has 2 entries.
- Click the row-level Edit action on employee 1, deselect Role 1 in the Roles dropdown, press Escape to close it, then click Save. Expected: a success toast appears.
- Verify employee 1's row. Expected: the Roles column displays
-.
Related¶
- Spec:
playwright/tests/integration/client.spec.ts(line 641)