Skip to content

040 — should move two tasks to sprint by drag

Description

Verifies that two separate drag-and-drop operations correctly move two individual tasks from the Backlog group into a sprint and update both groups' counts.

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 a sprint "Sprint 1" with 2-week duration starting today.
  2. Inspect the backlog. Expected: Backlog has 5 tasks and Sprint 1 has 0 tasks.
  3. Drag "Task 05" from Backlog onto Sprint 1. Expected: Backlog has 4 tasks and Sprint 1 has 1 task.
  4. Drag "Task 04" from Backlog onto Sprint 1. Expected: Backlog has 3 tasks and Sprint 1 has 2 tasks.
  • Spec: playwright/tests/integration/backlog.spec.ts (line 689)