605 — should delete default workflow and create custom workflow¶
Description¶
Verifies that a user can completely replace the default Task workflow with a custom one by deleting all three default statuses (ToDo, InPrg, Done) and creating three new ones. NOTE: currently skipped pending a product bug fix.
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¶
- Delete the
ToDo,InPrg, andDonestatuses one by one. - Create three custom statuses:
In Test(under InPrg),To Test(under ToDo),Test Done(under Done). Expected: editor shows 3 statuses again. - Switch initial status to
To Testand Save the status. - Add transitions
In Test ← To TestandTest Done ← In Test. - Click Save workflow. Expected: "Saved" toast, the custom workflow becomes the new Task workflow.
- Open Tasks. Expected: the Tasks page loads against the new workflow (scenario currently skipped — assertions to be expanded after bug fix).
Related¶
- Spec:
playwright/tests/integration/workflows.spec.ts(line 478)