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¶
- 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).
- Navigate to the Tasks page and click "Add task".
- In the Add task dialog, set the Project to the seeded project.
- Open the Assignee dropdown. Expected: the menu lists employee 1, employee 2, and the owner.
- 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).
- 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.
- Expected: the new task row shows employee 1 as its assignee.
Related¶
- Spec:
playwright/tests/integration/project.spec.ts(line 418)