Skip to content

610 — should set workflow ToDo - InPrg - Done and test it in project

Description

Project-workflow equivalent of 600: a strict linear ToDo → InPrg → Done → ToDo Project workflow 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. Configure transitions: ToDo → Done, InPrg → ToDo, Done → InPrg. Save the workflow.
  2. Switch to Projects, Add Simple project with a title and 5-letter prefix. Expected: default status ToDo. Click Create. Expected: "Created" toast.
  3. Edit the project. Expected: only InPrg is allowed. Set InPrg, Save. Expected: "Updated" toast.
  4. Edit the project. Expected: only Done is allowed. Set Done, Save. Expected: "Updated" toast.
  5. Edit the project. Expected: only ToDo is allowed.
  • Spec: playwright/tests/integration/workflows.spec.ts (line 645)