[
  {
    "id": "published",
    "name": "The editor publishes the draft",
    "inputs": {
      "draftId": "D-1",
      "title": "Release notes 4.2"
    },
    "mocks": {
      "content-lint": {
        "outputs": {
          "issues": 0,
          "readingTime": 4
        }
      },
      "userTask": {
        "outputs": {
          "decision": "publish",
          "editorComment": ""
        }
      },
      "cms-publish": {
        "outputs": {
          "url": "https://example.com/blog/release-4-2"
        }
      }
    },
    "expect": {
      "path": [
        "automated-checks",
        "editorial-review",
        "publish",
        "published"
      ],
      "variables": {
        "publishedUrl": "https://example.com/blog/release-4-2"
      }
    }
  },
  {
    "id": "revise",
    "name": "The editor asks for a revision",
    "inputs": {
      "draftId": "D-2",
      "title": "Untitled"
    },
    "mocks": {
      "content-lint": {
        "outputs": {
          "issues": 3,
          "readingTime": 9
        }
      },
      "userTask": {
        "outputs": {
          "decision": "revise",
          "editorComment": "Needs a title."
        }
      },
      "author-notify": {}
    },
    "expect": {
      "path": [
        "editorial-review",
        "return-to-author",
        "returned"
      ]
    }
  }
]
