606 — should not delete default workflow when used in column¶
Description¶
Verifies that the Task workflow cannot be replaced wholesale while one of its default statuses is still used by a board column on the seeded project; the editor surfaces a "status used in column" guard.
Preconditions¶
- Signed in as an admin of a freshly seeded organization that already has a default project whose board has columns mapped to the default statuses.
- Task workflow editor open at the default
ToDo / InPrg / Doneworkflow.
Steps¶
- Delete the three default statuses
ToDo,InPrg,Done. - Create three custom statuses:
In Test,To Test,Test Done. Expected: editor shows 3 statuses. - Switch initial status to
To Testand Save the status. - Add transitions
In Test ← To TestandTest Done ← In Test. - Click Save workflow. Expected: the save is blocked and the editor displays the "status is used in column" warning, preventing the user from breaking a board that still references the deleted statuses.
Related¶
- Spec:
playwright/tests/integration/workflows.spec.ts(line 505)