590 — should not save when delete DONE status¶
Description¶
Verifies that a workflow must always contain a Done (completed) status; deleting it and trying to save is blocked. This guard runs in both the Task workflow editor and the Project workflow editor.
Preconditions¶
- Signed in as an admin of a freshly seeded organization that already has a default project.
- Workflow editor open showing the default three statuses:
ToDo,InPrg,Done.
Steps¶
- Confirm the editor shows 3 statuses. Expected:
ToDo,InPrg,Doneare present. - Delete the
Donestatus from the workflow. Expected: the editor now shows only 2 statuses. - Click Save workflow. Expected: the workflow does not save and the editor surfaces the "workflow incomplete — no Done status" warning (in Task workflows the task-level message; in Project workflows the project-level message).
Related¶
- Spec:
playwright/tests/integration/workflows.spec.ts(line 79)