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