603 — should set workflow ToDo/ToTest - InPrg/In Test - Done and chooset test branch in task¶
Description¶
Verifies a six-status workflow with parallel branches ToDo/To Test and InPrg/In Test, where To Test is the initial status, and walks a task along the test branch To Test → In Test → Test Done.
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 custom statuses
In Test(underInPrg),To Test(underToDo), andTest Done(underDone). Switch initial status toTo Test(off for the others) and Save the status. Configure transitions for the original branch (ToDohas none,InPrg ← ToDo,Done ← InPrg) and for the test branch (In Test ← To Test,Test Done ← In Test). Save the workflow. Expected: "Saved" toast and 6 statuses present. - Open Tasks, Add task, set title. Expected: at create time the status menu shows only
ToDoand the editor displays the initial status asTo Test. - Click Create. Expected: "Created" toast, and the created task is listed with status
To Test. - Reopen the task. Expected: the current status is
To Testand the only allowed next status isIn Test. SetIn Test, Save. Expected: "Updated" toast and the task row now shows statusIn Test. - Reopen the task. Expected: only
Test Doneis allowed. SetTest Done, Save. Expected: "Updated" toast and the task row shows statusTest Done. - Reopen the task. Expected: no further transitions are available (terminal status on the test branch).
Related¶
- Spec:
playwright/tests/integration/workflows.spec.ts(line 367)