031 — should move task from one sprint to another¶
Description¶
Verifies that re-assigning a task's sprint from inside the task editor moves the task from one sprint group to another in the backlog list.
Preconditions¶
- Fresh tenant is registered, onboarded and signed in via the API
- A seed project with 5 backlog tasks already exists
- The user is on the project's Backlog page
Steps¶
- Create "Sprint 1" with 4-week duration starting today. Expected: "Sprint created" toast.
- Create "Sprint 2" with 4-week duration starting today. Expected: "Sprint created" toast and the backlog lists 3 sprint groups.
- Add a task "Created Task 1" to Sprint 1. Expected: "Created" toast and Backlog has 5 tasks, Sprint 1 has 1 task, Sprint 2 has 0 tasks.
- Open "Created Task 1" from Sprint 1, change its Sprint field to "Sprint 2" and save. Expected: "Updated" toast appears.
- Inspect group counts. Expected: Backlog still has 5 tasks, Sprint 1 has 0 tasks, Sprint 2 has 1 task.
Related¶
- Spec:
playwright/tests/integration/backlog.spec.ts(line 431)