478 — should create new task¶
Description¶
Verifies that a user can create a fully-filled task from the project Tasks tab and that every field (assignee, reporter, sprint, story points, due date, labels) is correctly rendered in the tasks grid afterwards.
Preconditions¶
- Signed-in tenant with a seeded Advanced project, a one-week sprint, an employee, and three labels.
- Currently on the seeded project's Tasks tab. The task form's Assignee/Reporter/Sprint fields are only visible because the form is opened from within a project (project is hidden until picked when opened from the all-tasks view).
Steps¶
- Click "Add task" to open the task form.
- Fill in the task title (random 4-word string), description, three labels, assignee (current user as owner), story points (random 1–20), priority "Highest", and the seeded sprint.
- Pick the start date (today − 5 days) and due date (today + 5 days) via the calendar picker.
- Click "Create" → Expected: the "Created" success toast appears.
- Reveal the hidden columns Reporter, Sprint, Story points, Labels.
- Inspect the new row in the tasks grid → Expected: task name matches the entered title, status is "To do", assignee and reporter are the current owner, sprint matches the seeded sprint title, due date matches today + 5 days, story points match the entered number, all three labels are shown, and the grid contains exactly 1 task.
Related¶
- Spec:
playwright/tests/integration/task.spec.ts(line 140)