038 — should deactivate start sprint when no tasks in sprint¶
Description¶
Verifies that an empty sprint cannot be started: the "Start sprint" action on a sprint group with zero tasks is disabled.
Preconditions¶
- Fresh tenant is registered, onboarded and signed in via the API
- A seed project with 5 backlog tasks (and the default empty Backlog group) already exists
- The user is on the project's Backlog page
Steps¶
- Open the "Create sprint" dialog, set the title "Sprint 1" and duration "2 weeks", then pick today as the start date.
- Click "Create". Expected: the new sprint "Sprint 1" appears in the backlog with no tasks.
- Inspect the "Start sprint" button on the "Sprint 1" group. Expected: the "Start sprint" button is disabled (cannot be clicked because the sprint has no tasks).
Related¶
- Spec:
playwright/tests/integration/backlog.spec.ts(line 653)