Skip to content

603 — should set workflow ToDo/ToTest - InPrg/In Test - Done and chooset test branch in task

Description

Verifies a six-status workflow with parallel branches ToDo/To Test and InPrg/In Test, where To Test is the initial status, and walks a task along the test branch To Test → In Test → Test Done.

Preconditions

  • Signed in as an admin of a freshly seeded organization that already has a default project.
  • Task workflow editor open at the default ToDo / InPrg / Done workflow.

Steps

  1. Add custom statuses In Test (under InPrg), To Test (under ToDo), and Test Done (under Done). Switch initial status to To Test (off for the others) and Save the status. Configure transitions for the original branch (ToDo has none, InPrg ← ToDo, Done ← InPrg) and for the test branch (In Test ← To Test, Test Done ← In Test). Save the workflow. Expected: "Saved" toast and 6 statuses present.
  2. Open Tasks, Add task, set title. Expected: at create time the status menu shows only ToDo and the editor displays the initial status as To Test.
  3. Click Create. Expected: "Created" toast, and the created task is listed with status To Test.
  4. Reopen the task. Expected: the current status is To Test and the only allowed next status is In Test. Set In Test, Save. Expected: "Updated" toast and the task row now shows status In Test.
  5. Reopen the task. Expected: only Test Done is allowed. Set Test Done, Save. Expected: "Updated" toast and the task row shows status Test Done.
  6. Reopen the task. Expected: no further transitions are available (terminal status on the test branch).
  • Spec: playwright/tests/integration/workflows.spec.ts (line 367)