607 — should set workflow ToDo - InPrg - Done with mouse drag and test it in task¶
Description¶
Verifies that a strict linear ToDo → InPrg → Done → ToDo Task workflow can be built entirely via drag-and-drop (starting from disabling the default Any status mode), and is then 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¶
- Open the
ToDostatus, switch the "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.
- Open Tasks, Add task, set title. Expected: default status
ToDo, standard create-time menu. Click Create. Expected: "Created" toast. - Reopen the task. Expected: only
InPrgallowed. SetInPrg, Save. Expected: "Updated" toast. - Reopen the task. Expected: only
Doneallowed. SetDone, Save. Expected: "Updated" toast. - Reopen the task. Expected: only
ToDois allowed.
Related¶
- Spec:
playwright/tests/integration/workflows.spec.ts(line 529)