Skip to content

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

Description

Project-workflow equivalent of 603: a six-status workflow with parallel branches (ToDo/To Test, InPrg/In Test, Done/Test Done) and To Test as the initial status; walks a project along the test branch.

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 statuses In Test, To Test, Test Done. Switch initial status to To Test, Save. Configure transitions: ToDo empty, InPrg ← ToDo, Done ← InPrg, In Test ← To Test, Test Done ← In Test. Save workflow. Expected: "Saved" toast and 6 statuses present.
  2. Switch to Projects, Add Simple project with title and 5-letter prefix. Expected: at create time the status menu shows only ToDo and the editor displays the initial status as To Test. Click Create. Expected: "Created" toast.
  3. Edit the project. Expected: current status To Test, only In Test is allowed. Set In Test, Save. Expected: "Updated" toast.
  4. Edit the project. Expected: only Test Done is allowed. Set Test Done, Save. Expected: "Updated" toast.
  5. Edit the project. Expected: no further transitions are available (terminal status on the test branch).
  • Spec: playwright/tests/integration/workflows.spec.ts (line 801)