Skip to content

428 — should expose project members as task assignees / reporters

Description

Verifies that users assigned to a project show up as available Assignees and Reporters in the Add task dialog when that project is selected, and that picking them creates a task with the correct assignee.

Preconditions

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

Steps

  1. Click "Add users", pick employee 1 and employee 2, pick role 1, and click "Save". Expected: a success toast is shown and the members table lists 3 members (owner + 2 employees).
  2. Navigate to the Tasks page and click "Add task".
  3. In the Add task dialog, set the Project to the seeded project.
  4. Open the Assignee dropdown. Expected: the menu lists employee 1, employee 2, and the owner.
  5. Close the menu and open the Reporter dropdown. Expected: the menu lists employee 1 and employee 2 (the owner is not offered as a reporter here).
  6. Set the title to the seeded task title, set the assignee to employee 1 and the reporter to employee 2, then click "Create". Expected: a "Created" success toast is shown.
  7. Expected: the new task row shows employee 1 as its assignee.
  • Spec: playwright/tests/integration/project.spec.ts (line 418)