Skip to content

183 — should add two users to client members

Description

Verifies that two existing employees can be added to a client's Members tab in a single Add Members action, both sharing the same client role, and that the resulting member list shows the correct name, team and role for each entry.

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 (already populated with the owner)

Steps

  1. Click Add members, pick employee 1 and employee 2 in the Users field, and assign Role 1. Click Save. Expected: a success toast appears and the members list now contains 3 entries (owner + 2 new).
  2. Verify each newly added member. Expected: employee 1 is listed with team - and Role 1, and employee 2 is listed with team - and Role 1.
  • Spec: playwright/tests/integration/client.spec.ts (line 518)