589 — should not save without initial status¶
Description¶
Verifies that a workflow cannot be saved when no status is marked as the initial status. 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 (Task workflows for a seeded project, or Project workflows) showing the default
ToDo / InPrg / Donestatuses withToDoas the initial status.
Steps¶
- Open the
ToDostatus and toggle its "Initial status" switch off, then click Save on the status. - Click Save workflow on the full workflow. Expected: the workflow does not save and the editor shows the "workflow incomplete — no initial status" warning, blocking the user from leaving the editor in an invalid state.
Related¶
- Spec:
playwright/tests/integration/workflows.spec.ts(line 72)