Skip to content

020 — Sprint duration: 1 week should last for 7 days

Description

Verifies that picking the predefined "1 week" sprint duration auto-calculates an end date exactly 7 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

  1. Open the "Create sprint" dialog from the backlog header.
  2. Type the sprint title "Sprint 1 week".
  3. Select the duration option "1 week".
  4. 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 + 7 days.
  5. Click the "Create" button. Expected: a "Sprint created" confirmation toast appears, the new sprint "Sprint 1 week" is listed in the backlog, and its header shows the date range "today → today + 7 days".
  • Spec: playwright/tests/integration/backlog.spec.ts (line 54)