184 — should add two users to client members and delete one¶
Description¶
Verifies that one of two newly added client members can be removed via the row-level Delete action, after a confirmation modal, and that the remaining member still appears with the correct identity.
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 and employee 2 with Role 1, then Save. Expected: a success toast appears and the members list shows 3 entries.
- Click the row-level Delete action on employee 1's row. Expected: the delete-member confirmation modal opens.
- Confirm the deletion. Expected: a "member removed" toast appears, the list now has 2 entries and employee 2 is still listed.
Related¶
- Spec:
playwright/tests/integration/client.spec.ts(line 535)