628 — Sprint duration: 2 weeks should last for 14 days¶
Description¶
Verifies that picking the predefined "2 weeks" sprint duration auto-calculates an end date exactly 14 days after the chosen start date and that the sprint is created with the correct date range.
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 from the backlog header.
- Type the sprint title "Sprint 2 weeks".
- Select the duration option "2 weeks".
- Click the start-date field and pick today in the date picker. Expected: start date shows today and end date is automatically set to today + 14 days.
- Click the "Create" button. Expected: a "Sprint created" confirmation toast appears, the new sprint "Sprint 2 weeks" is listed in the backlog, and its header shows the date range "today → today + 14 days".
Related¶
- Spec:
playwright/tests/integration/backlog.spec.ts(line 54)