073 — Should create sprint, add tasks and check, tasks are not in board when sprint is not active¶
Description¶
Verifies that tasks assigned to sprints that have not been started do not appear on the Agile Board. Only an active (started) sprint feeds the board, so a board with no started sprint must stay empty.
Preconditions¶
- Signed-in user on a freshly registered organization.
- An advanced-type project with 5 tasks sitting in the Backlog (no sprint started yet).
- The Tasks tab of the project shows 5 tasks.
Steps¶
- Open the Backlog of the project. Expected: the Backlog list is visible with the 5 seeded tasks.
- Create a new sprint named "Sprint 1" with a 4-week duration starting today and confirm creation. Expected: a "sprint created" confirmation appears.
- Create a second sprint named "Sprint 2" with the same 4-week duration starting today. Expected: a "sprint created" confirmation appears and the Backlog now lists 3 sprint blocks (Backlog, Sprint 1, Sprint 2).
- Open the first task and move it into Sprint 1, then save. Expected: an "updated" confirmation appears; Backlog count drops to 4, Sprint 1 shows 1 task, Sprint 2 shows 0.
- Open the second task and move it into Sprint 2, then save. Expected: an "updated" confirmation appears; Backlog count drops to 3, Sprint 1 shows 1 task, Sprint 2 shows 1 task.
- Open the Agile Board view. Expected: the board shows its empty-state message because neither sprint has been started, so none of the tasks appear on the board.
Related¶
- Spec:
playwright/tests/integration/board.spec.ts(line 101)