028 — should create two sprints and delete one of them¶
Description¶
Verifies that a sprint can be moved to trash from the backlog, the confirmation dialog shows the right wording, and the deleted sprint disappears from the list while the other remains.
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¶
- Create "Sprint 1" with 4-week duration starting today and click "Create". Expected: "Sprint created" toast appears.
- Create "Sprint 2" with 4-week duration starting today and click "Create". Expected: "Sprint created" toast appears.
- Inspect the backlog. Expected: 3 sprint groups are listed (Backlog default + Sprint 1 + Sprint 2).
- Open the row menu on "Sprint 1" and click "Delete". Expected: a confirmation dialog reads "Move sprint to trash" with the text "Are you sure you would like the selected sprint to be moved to trash?".
- Confirm by clicking "Move to trash". Expected: "Moved to trash" toast appears.
- Inspect the backlog. Expected: only 2 sprint groups remain (Backlog default + Sprint 2).
Related¶
- Spec:
playwright/tests/integration/backlog.spec.ts(line 270)