Skip to content

092 — Should move tasks, delete columns and check tasks were moved to first column

Description

Verifies that when a column on a Simple board is deleted, all its tasks are merged into the first (left-most) remaining column so that no tasks are lost.

Preconditions

  • Signed-in user on a freshly registered organization.
  • A Simple-type project with 5 seeded tasks.
  • The Simple Board view is open and shows 5 tasks in TO DO across the 3 default columns.

Steps

  1. Confirm the starting board layout. Expected: 3 columns (TO DO → IN PROGRESS → DONE); TO DO has task1–task5 (count 5); others empty.
  2. Drag task2 to IN PROGRESS, task3 to DONE, and task4 to DONE. Expected: TO DO has task1, task5 (count 2); IN PROGRESS has task2 (count 1); DONE has task3, task4 (count 2).
  3. Delete the DONE column. Expected: the board shrinks to 2 columns (TO DO → IN PROGRESS); TO DO now lists task1, task5, task3, task4 (count 4) — the DONE tasks were merged into TO DO at the end; IN PROGRESS still has task2.
  4. Delete the IN PROGRESS column. Expected: only 1 column remains; TO DO now lists all 5 tasks (count 5) — task2 was merged in.
  • Spec: playwright/tests/integration/board.spec.ts (line 974)