Skip to content

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

  1. Create "Sprint 1" with 4-week duration starting today. Expected: "Sprint created" toast.
  2. Create "Sprint 2" with 4-week duration starting today. Expected: "Sprint created" toast and the backlog lists 3 sprint groups.
  3. 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.
  4. Open "Created Task 1" from Sprint 1, change its Sprint field to "Sprint 2" and save. Expected: "Updated" toast appears.
  5. Inspect group counts. Expected: Backlog still has 5 tasks, Sprint 1 has 0 tasks, Sprint 2 has 1 task.
  • Spec: playwright/tests/integration/backlog.spec.ts (line 431)