Skip to content

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

  1. Open the "Create sprint" dialog, set the title "Sprint 1" and duration "2 weeks", then pick today as the start date.
  2. Click "Create". Expected: the new sprint "Sprint 1" appears in the backlog with no tasks.
  3. 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).
  • Spec: playwright/tests/integration/backlog.spec.ts (line 653)