601 — should set workflow ToDo - InPrg/In Test - Done and test it in task¶
Description¶
Verifies a branched workflow with a custom In Test status alongside InPrg: ToDo → InPrg → (In Test or Done) → ToDo. The branching choice between In Test and Done is enforced on a real task.
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¶
- Add a new custom status
In Test(underInPrggroup), and configure transitions:ToDo←Done,In Test;InPrg←ToDo;Done←InPrg,In Test;In Test←InPrg. Save the workflow. Expected: "Saved" toast and all four statuses (ToDo,InPrg,Done,In Test) appear in the editor. - Open Tasks, Add task, set title. Expected: default status
ToDoand standard create-time menu. - Click Create. Expected: "Created" toast.
- Reopen the task. Expected: only
InPrgis allowed. SetInPrg, Save. Expected: "Updated" toast. - Reopen the task. Expected: allowed next statuses are exactly
In TestandDone(branch point). SetIn Test, Save. Expected: "Updated" toast. - Reopen the task. Expected: allowed next statuses are
DoneandToDo. SetDone, Save. Expected: "Updated" toast. - Reopen the task. Expected: only
ToDois allowed, confirming the loop back.
Related¶
- Spec:
playwright/tests/integration/workflows.spec.ts(line 254)