Skip to content

600 — should set workflow ToDo - InPrg - Done and test it in task

Description

Verifies a strict linear workflow ToDo → InPrg → Done → ToDo configured in the Task workflow editor is enforced on a real task: only one next status is allowed at each step.

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 / Done workflow.

Steps

  1. Configure transitions so only one path is available from each status: ToDo → Done (incoming ToDo on Done), InPrg → ToDo, Done → InPrg. Save the workflow.
  2. Open Tasks, Add task, set title. Expected: default status is ToDo and the create-time status menu shows the standard options.
  3. Click Create. Expected: "Created" toast.
  4. Reopen the task. Expected: allowed next status is exactly InPrg. Set InPrg, Save. Expected: "Updated" toast.
  5. Reopen the task. Expected: allowed next status is exactly Done. Set Done, Save. Expected: "Updated" toast.
  6. Reopen the task. Expected: allowed next status is exactly ToDo, closing the loop.
  • Spec: playwright/tests/integration/workflows.spec.ts (line 217)