Skip to content

075 — Should create sprint, add tasks and start sprint and then complete sprint

Description

Verifies the full sprint lifecycle: tasks appear on the Agile Board after a sprint is started, and the board returns to its empty state once that sprint is completed.

Preconditions

  • Signed-in user on a freshly registered organization.
  • An advanced-type project with 5 tasks in the Backlog (no sprint started yet).
  • The Tasks tab of the project shows 5 tasks.

Steps

  1. Open the Backlog and create two sprints, "Sprint 1" and "Sprint 2", each with a 4-week duration starting today. Expected: each creation shows a "sprint created" confirmation and the Backlog lists 3 sprint blocks (Backlog, Sprint 1, Sprint 2).
  2. Assign the first task to Sprint 1 and the second task to Sprint 2 and save. Expected: Backlog shows 3 tasks, Sprint 1 shows 1 task, Sprint 2 shows 1 task.
  3. Start Sprint 2 from the Backlog and confirm. Expected: a "sprint started" confirmation appears.
  4. Open the Agile Board. Expected: the board shows 1 task in TO DO (the second task), and IN PROGRESS and DONE are empty.
  5. Return to the Backlog and click Complete Sprint, then confirm in the sprint-overview modal. Expected: the overview shows 0 completed and 1 incomplete task; a "sprint completed" confirmation appears.
  6. Open the Agile Board again. Expected: the board shows its empty-state message because no sprint is active anymore.
  • Spec: playwright/tests/integration/board.spec.ts (line 215)