600 — should set workflow ToDo - InPrg - Done and test it in task¶
Description¶
Verifies a strict linear workflow ToDo → InPrg → Done → ToDo configured in the Task workflow editor is enforced on a real task: only one next status is allowed at each step.
Preconditions¶
- Signed in as an admin of a freshly seeded organization that already has a default project.
- Task workflow editor open at the default
ToDo / InPrg / Doneworkflow.
Steps¶
- Configure transitions so only one path is available from each status:
ToDo → Done(incomingToDoonDone),InPrg → ToDo,Done → InPrg. Save the workflow. - Open Tasks, Add task, set title. Expected: default status is
ToDoand the create-time status menu shows the standard options. - Click Create. Expected: "Created" toast.
- Reopen the task. Expected: allowed next status is exactly
InPrg. SetInPrg, Save. Expected: "Updated" toast. - Reopen the task. Expected: allowed next status is exactly
Done. SetDone, Save. Expected: "Updated" toast. - Reopen the task. Expected: allowed next status is exactly
ToDo, closing the loop.
Related¶
- Spec:
playwright/tests/integration/workflows.spec.ts(line 217)