616 — should set workflow ToDo - InPrg - Done with mouse drag and test it in project¶
Description¶
Project-workflow equivalent of 607: a strict linear ToDo → InPrg → Done → ToDo Project workflow is built entirely via drag-and-drop (after disabling default Any status) and 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. - Recover-change modal dismissed.
Steps¶
- Open the
ToDostatus, switch its "Any status" transition off, and Save the status. Expected:ToDono longer accepts any transition. - Drag
ToDo → InPrg. Expected:InPrglistsToDoas its incoming transition. - Drag
InPrg → Done. Expected:DonelistsInPrg. - Drag
Done → ToDo. Expected:ToDolistsDone. - Click Save workflow.
- 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: only
Doneallowed. SetDone, Save. Expected: "Updated" toast. - Edit the project. Expected: only
ToDois allowed.
Related¶
- Spec:
playwright/tests/integration/workflows.spec.ts(line 911)