Skip to content

024 — should not set sprint end date before start date

Description

Verifies the date-validation rule of the sprint Create dialog: when the chosen end date is earlier than the start date, submitting the form shows an error and the sprint is not created.

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 and set the title "Sprint Custom".
  2. Pick today as the start date in the date picker.
  3. Pick a date 5 days in the past as the end date.
  4. Click "Create". Expected: the form does not submit and an inline error like "End date cannot be before start date" appears.
  • Spec: playwright/tests/integration/backlog.spec.ts (line 133)