Skip to content

616 — should set workflow ToDo - InPrg - Done with mouse drag and test it in project

Description

Project-workflow equivalent of 607: a strict linear ToDo → InPrg → Done → ToDo Project workflow is built entirely via drag-and-drop (after disabling default Any status) and enforced on a real project.

Preconditions

  • Signed in as an admin of a freshly seeded organization with one seeded project.
  • Project workflow editor open at the default ToDo / InPrg / Done workflow.
  • Recover-change modal dismissed.

Steps

  1. Open the ToDo status, switch its "Any status" transition off, and Save the status. Expected: ToDo no longer accepts any transition.
  2. Drag ToDo → InPrg. Expected: InPrg lists ToDo as its incoming transition.
  3. Drag InPrg → Done. Expected: Done lists InPrg.
  4. Drag Done → ToDo. Expected: ToDo lists Done.
  5. Click Save workflow.
  6. Switch to Projects, Add Simple project with title and 5-letter prefix. Expected: default status ToDo. Click Create. Expected: "Created" toast.
  7. Edit the project. Expected: only InPrg allowed. Set InPrg, Save. Expected: "Updated" toast.
  8. Edit the project. Expected: only Done allowed. Set Done, Save. Expected: "Updated" toast.
  9. Edit the project. Expected: only ToDo is allowed.
  • Spec: playwright/tests/integration/workflows.spec.ts (line 911)