Skip to content

612 — should set workflow ToDo - InPrg/In Test - Done with drag statuses and test it in project

Description

Project-workflow equivalent of 602: the branched ToDo → InPrg → (In Test or Done) → ToDo workflow is built entirely via drag-and-drop and is 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.

Steps

  1. Add custom status In Test. Build by dragging: Done → ToDo, In Test → ToDo (Expected: ToDo lists Done, In Test); ToDo → InPrg (Expected: InPrg lists ToDo); In Test → Done, InPrg → Done (Expected: Done lists InPrg, In Test); InPrg → In Test (Expected: In Test lists InPrg).
  2. Save the workflow. Expected: "Saved" toast and all four statuses present.
  3. Switch to Projects, Add Simple project with title and 5-letter prefix. Expected: default status ToDo. Click Create. Expected: "Created" toast.
  4. Edit the project. Expected: only InPrg allowed. Set InPrg, Save. Expected: "Updated" toast.
  5. Edit the project. Expected: allowed next statuses are In Test and Done. Set In Test, Save. Expected: "Updated" toast.
  6. Edit the project. Expected: allowed next statuses are Done and ToDo. Set Done, Save. Expected: "Updated" toast.
  7. Edit the project. Expected: only ToDo is allowed.
  • Spec: playwright/tests/integration/workflows.spec.ts (line 738)