085 — Should delete columns and create new ones¶
Description¶
Verifies that users can delete existing columns, create brand-new custom columns, and map workflow statuses into them — and that dragging tasks into the new columns correctly updates the task's stored status.
Preconditions¶
- Signed-in user on a freshly registered organization.
- An advanced-type project with 5 tasks in an active sprint "Started Sprint".
- The task workflow has 5 statuses.
- The Agile Board view is open and shows 5 tasks in TO DO.
Steps¶
- Open Board Settings. Expected: the board has 4 columns.
- Delete the DONE column, then delete the IN PROGRESS column. Expected: only TO DO remains mapped; the Unmapped area lists "TEST TODO", "TEST IN PROGRESS", DONE, and IN PROGRESS; 2 columns remain.
- Add a new column named "Test in progress" and confirm. Expected: 3 columns now.
- Add another new column named "Test done" and confirm. Expected: 4 columns now.
- Drag the "TEST IN PROGRESS" status onto the "Test in progress" column and the DONE status onto the "Test done" column. Expected: the "Test in progress" column is mapped to "TEST IN PROGRESS" and "Test done" is mapped to DONE.
- Save settings. Expected: a "saved" confirmation appears.
- Return to the Agile Board. Expected: 3 columns visible (TO DO, Test in progress, Test done); TO DO contains task1–task5 (count 5); the two new columns are empty.
- Drag task2 into the "Test in progress" column. Expected: TO DO now has 4 tasks; "Test in progress" has task2 (count 1); task2's stored status is "TEST IN PROGRESS".
- Drag task2 into the "Test done" column. Expected: "Test in progress" empty; "Test done" has task2 (count 1); task2's stored status is DONE.
Related¶
- Spec:
playwright/tests/integration/board.spec.ts(line 582)