Skip to content

605 — should delete default workflow and create custom workflow

Description

Verifies that a user can completely replace the default Task workflow with a custom one by deleting all three default statuses (ToDo, InPrg, Done) and creating three new ones. NOTE: currently skipped pending a product bug fix.

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. Delete the ToDo, InPrg, and Done statuses one by one.
  2. Create three custom statuses: In Test (under InPrg), To Test (under ToDo), Test Done (under Done). Expected: editor shows 3 statuses again.
  3. Switch initial status to To Test and Save the status.
  4. Add transitions In Test ← To Test and Test Done ← In Test.
  5. Click Save workflow. Expected: "Saved" toast, the custom workflow becomes the new Task workflow.
  6. Open Tasks. Expected: the Tasks page loads against the new workflow (scenario currently skipped — assertions to be expanded after bug fix).
  • Spec: playwright/tests/integration/workflows.spec.ts (line 478)