Skip to content

074 — Should create sprint, add tasks and start sprint

Description

Verifies that once a sprint is started, only the task assigned to that started sprint shows up on the Agile Board (in the TO DO column), while tasks of other sprints and the Backlog remain off the board.

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 now lists 3 sprint blocks (Backlog, Sprint 1, Sprint 2).
  2. Move the first task into Sprint 1 and save. Expected: Backlog shows 4 tasks, Sprint 1 shows 1, Sprint 2 shows 0.
  3. Move the second task into Sprint 2 and save. Expected: Backlog shows 3 tasks, Sprint 1 shows 1, Sprint 2 shows 1.
  4. Start Sprint 2 from the Backlog and confirm the start dialog. Expected: a "sprint started" confirmation appears.
  5. Open the Agile Board view. Expected: the board shows exactly 1 task; the TO DO column contains the second task and shows count 1; the IN PROGRESS and DONE columns are empty with count 0.
  • Spec: playwright/tests/integration/board.spec.ts (line 155)