Skip to content

427 — should add member with two roles and delete one

Description

Verifies that a project member added with two roles can have one of those roles removed via the Edit member dialog, leaving only the remaining role.

Preconditions

  • Signed-in tenant with a seeded project, one seeded employee, and two seeded project roles.
  • Project Members page open for the seeded project.

Steps

  1. Click "Add users", pick employee 1, pick both role 1 and role 2, and click "Save". Expected: a success toast is shown.
  2. Expected: the members table lists 2 members and employee 1 has roles [role 1, role 2].
  3. Click the edit action on employee 1's row, click on the role 2 chip to remove it, dismiss the role picker, and click "Save".
  4. Expected: a success toast is shown.
  5. Expected: after the table refreshes, employee 1's only remaining role is role 1.
  • Spec: playwright/tests/integration/project.spec.ts (line 400)