Skip to content

034 — should edit sprint

Description

Verifies that editing a sprint's duration recalculates its end date and that the displayed date range on the backlog header is updated after saving.

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, set the title "Sprint 1" and duration "2 weeks", then pick today as the start date. Expected: start date is today and end date auto-fills to today + 14 days.
  2. Click "Create". Expected: "Sprint created" toast appears and the new sprint "Sprint 1" displays the date range today → today + 14 days.
  3. Open the row menu on "Sprint 1" and click "Edit". Change duration to "1 week". Expected: start date stays today, end date updates to today + 7 days.
  4. Click "Save". Expected: "Sprint updated" toast appears and the "Sprint 1" header now shows the new date range today → today + 7 days.
  • Spec: playwright/tests/integration/backlog.spec.ts (line 589)