489 — should fill some fields, create task, and check that recovery modal wont show up¶
Description¶
Verifies that when the user successfully saves a task, the draft is consumed: reopening the form must NOT show the recovery modal — instead it opens fresh with defaults.
Preconditions¶
- Signed-in tenant with a seeded Advanced project, a one-week sprint, and an employee.
- Currently on the seeded project's Tasks tab. The form is opened from inside a project so Assignee/Reporter/Sprint inputs are visible.
Steps¶
- Click "Add task" and fill in title (random 4-word string), description, assignee (current owner), story points (random 1–20), and the seeded sprint.
- Click "Create" → Expected: the "Created" success toast appears.
- Click "Add task" again to reopen the form → Expected: the recovery modal does NOT appear.
- Inspect the form → Expected: title and description are empty, project is the seeded project, status "To do", assignee empty, reporter defaults to current owner, story points empty, priority "Medium", sprint empty, and start/due dates empty.
Related¶
- Spec:
playwright/tests/integration/task.spec.ts(line 358)