Skip to content

426 — should add member and then edit his roles

Description

Verifies that an existing project member's roles can be extended via the Edit member dialog and that the new role is added alongside the previously assigned one.

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 role 1, and click "Save". Expected: a success toast is shown.
  2. Expected: the members table lists 2 members and employee 1 has role 1.
  3. Click the edit action on employee 1's row, add role 2 in the Roles field, and click "Save" to apply.
  4. Expected: a success toast is shown.
  5. Expected: after the table refreshes, employee 1's roles are [role 1, role 2].
  • Spec: playwright/tests/integration/project.spec.ts (line 382)