611 — should set workflow ToDo - InPrg/In Test - Done and test it in project¶
Description¶
Project-workflow equivalent of 601: a branched workflow ToDo → InPrg → (In Test or Done) → ToDo configured for projects is enforced on a real project.
Preconditions¶
- Signed in as an admin of a freshly seeded organization with one seeded project.
- Project workflow editor open at the default
ToDo / InPrg / Doneworkflow.
Steps¶
- Add custom status
In Test(underInPrg). Configure transitions:ToDo ← Done, In Test;InPrg ← ToDo;Done ← InPrg, In Test;In Test ← InPrg. Save workflow. Expected: "Saved" toast and all four statuses appear. - Switch to Projects, Add Simple project with title and 5-letter prefix. Expected: default status
ToDo. Click Create. Expected: "Created" toast. - Edit the project. Expected: only
InPrgallowed. SetInPrg, Save. Expected: "Updated" toast. - Edit the project. Expected: allowed next statuses are
In TestandDone. SetIn Test, Save. Expected: "Updated" toast. - Edit the project. Expected: allowed next statuses are
DoneandToDo. SetDone, Save. Expected: "Updated" toast. - Edit the project. Expected: only
ToDois allowed.
Related¶
- Spec:
playwright/tests/integration/workflows.spec.ts(line 685)