Skip to content

599 — should check default workflow and test it in task

Description

Verifies the default "Any status → Any status" workflow behaves correctly on a real task: every status can transition to every other status, with no restriction.

Preconditions

  • Signed in as an admin of a freshly seeded organization that already has a default project.
  • Task workflow editor open at the default workflow (ToDo, InPrg, Done, each set to Any status).
  • Recover-change modal (if shown) is dismissed.

Steps

  1. In the workflow editor verify all three statuses (ToDo, InPrg, Done) are set to Any status. Expected: every status accepts every other as a transition.
  2. Open Tasks, Add task, set title. Expected: default status is ToDo and the status menu offers all options.
  3. Click Create. Expected: "Created" toast.
  4. Reopen the task. Expected: allowed next statuses are InPrg and Done. Set status InPrg, Save. Expected: "Updated" toast.
  5. Reopen the task. Expected: allowed next statuses are ToDo and Done. Set status Done, Save. Expected: "Updated" toast.
  6. Reopen the task. Expected: allowed next statuses are ToDo and InPrg, confirming the default workflow is fully open.
  • Spec: playwright/tests/integration/workflows.spec.ts (line 183)