Skip to content

023 — should check required fields before start sprint with custom duration

Description

Verifies that starting a sprint without a duration (i.e. without explicit start/end dates and times) cannot proceed: all four date/time fields show required-field errors on submit.

Preconditions

  • Fresh tenant is registered, onboarded and signed in via the API
  • A seed project with 5 backlog tasks already exists; backlog page is open showing 1 default empty sprint group
  • The user is on the project's Backlog page

Steps

  1. Create a sprint named "Sprint 1" via the "Create sprint" dialog with no duration set, then click "Create". Expected: "Sprint created" toast appears and the backlog now lists 2 sprint groups (default + Sprint 1).
  2. Add a task titled "Created Task 1" to the "Sprint 1" group and save it. Expected: "Created" toast appears.
  3. Check task distribution. Expected: the "Backlog" group still holds 5 tasks and "Sprint 1" holds 1 task; exactly 1 "Start sprint" button is available on the page.
  4. Click "Start sprint" on the "Sprint 1" group, then click the dialog's "Start" button without filling in start/end dates and times. Expected: required-field validation appears on all four fields — Start date, Start time, End date and End time.
  • Spec: playwright/tests/integration/backlog.spec.ts (line 105)