Skip to content

425 — should add three members at once

Description

Verifies that several users can be added to a project in a single "Add users" submission, that multiple roles can be assigned at once, and that the owner — already an implicit member — is skipped with an "already added" warning while keeping the "Project Owner" role.

Preconditions

  • Signed-in tenant with a seeded project, two seeded employees, and two seeded project roles.
  • Project Members page open for the seeded project (owner is already an implicit member).

Steps

  1. Click "Add users", pick three users in the Users field — employee 1, employee 2, and the owner — and pick both role 1 and role 2 in the Roles field.
  2. Click "Save". Expected: an "already added" warning is shown for the owner.
  3. Expected: the members table lists 3 members.
  4. Expected: employee 1 is present with roles [role 1, role 2].
  5. Expected: employee 2 is present with roles [role 1, role 2].
  6. Expected: the owner is present with the role "Project Owner" only (the extra roles are not added because the user was already a member).
  • Spec: playwright/tests/integration/project.spec.ts (line 367)