Skip to content

611 — should set workflow ToDo - InPrg/In Test - Done and test it in project

Description

Project-workflow equivalent of 601: a branched workflow ToDo → InPrg → (In Test or Done) → ToDo configured for projects 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 (under InPrg). Configure transitions: ToDo ← Done, In Test; InPrg ← ToDo; Done ← InPrg, In Test; In Test ← InPrg. Save workflow. Expected: "Saved" toast and all four statuses appear.
  2. Switch to Projects, Add Simple project with title and 5-letter prefix. Expected: default status ToDo. Click Create. Expected: "Created" toast.
  3. Edit the project. Expected: only InPrg allowed. Set InPrg, Save. Expected: "Updated" toast.
  4. Edit the project. Expected: allowed next statuses are In Test and Done. Set In Test, Save. Expected: "Updated" toast.
  5. Edit the project. Expected: allowed next statuses are Done and ToDo. Set Done, Save. Expected: "Updated" toast.
  6. Edit the project. Expected: only ToDo is allowed.
  • Spec: playwright/tests/integration/workflows.spec.ts (line 685)