[
  {
    "description": "  As a developer\n  I want to see build and deployment statuses on commits\n  So that I know the state of each commit at a glance",
    "elements": [
      {
        "description": "",
        "id": "commit-status-visibility;build-step-reports-pending-status-to-commit",
        "keyword": "Scenario",
        "line": 15,
        "name": "Build step reports pending status to commit",
        "steps": [
          {
            "keyword": "Before",
            "hidden": true,
            "result": {
              "status": "passed",
              "duration": 2640535563
            }
          },
          {
            "arguments": [],
            "keyword": "Given ",
            "line": 7,
            "name": "a project repository exists in Gitea",
            "match": {
              "location": "tests/features/step_definitions/common.steps.js:29"
            },
            "result": {
              "status": "passed",
              "duration": 716806
            }
          },
          {
            "arguments": [],
            "keyword": "And ",
            "line": 8,
            "name": "a commit has been pushed to the repository",
            "match": {
              "location": "tests/features/step_definitions/common.steps.js:32"
            },
            "result": {
              "status": "passed",
              "duration": 252463
            }
          },
          {
            "arguments": [],
            "keyword": "When ",
            "line": 16,
            "name": "a build step starts executing",
            "match": {
              "location": "tests/features/step_definitions/commit-status.steps.js:41"
            },
            "result": {
              "status": "passed",
              "duration": 65365900
            }
          },
          {
            "arguments": [],
            "keyword": "Then ",
            "line": 17,
            "name": "the commit shows a pending status with a description of the step",
            "match": {
              "location": "tests/features/step_definitions/commit-status.steps.js:46"
            },
            "result": {
              "status": "passed",
              "duration": 249039987
            }
          },
          {
            "keyword": "After",
            "hidden": true,
            "result": {
              "status": "passed",
              "duration": 588818457
            }
          }
        ],
        "tags": [
          {
            "name": "@ticket-0001",
            "line": 14
          },
          {
            "name": "@mock",
            "line": 14
          },
          {
            "name": "@real",
            "line": 14
          }
        ],
        "type": "scenario"
      },
      {
        "description": "",
        "id": "commit-status-visibility;build-step-reports-successful-completion-with-a-result-link",
        "keyword": "Scenario",
        "line": 20,
        "name": "Build step reports successful completion with a result link",
        "steps": [
          {
            "keyword": "Before",
            "hidden": true,
            "result": {
              "status": "passed",
              "duration": 1344009518
            }
          },
          {
            "arguments": [],
            "keyword": "Given ",
            "line": 7,
            "name": "a project repository exists in Gitea",
            "match": {
              "location": "tests/features/step_definitions/common.steps.js:29"
            },
            "result": {
              "status": "passed",
              "duration": 377116
            }
          },
          {
            "arguments": [],
            "keyword": "And ",
            "line": 8,
            "name": "a commit has been pushed to the repository",
            "match": {
              "location": "tests/features/step_definitions/common.steps.js:32"
            },
            "result": {
              "status": "passed",
              "duration": 403374
            }
          },
          {
            "arguments": [],
            "keyword": "When ",
            "line": 21,
            "name": "a build step completes successfully and reports its results",
            "match": {
              "location": "tests/features/step_definitions/commit-status.steps.js:52"
            },
            "result": {
              "status": "passed",
              "duration": 47844659
            }
          },
          {
            "arguments": [],
            "keyword": "Then ",
            "line": 22,
            "name": "the commit shows a success status with a clickable link to the results",
            "match": {
              "location": "tests/features/step_definitions/commit-status.steps.js:57"
            },
            "result": {
              "status": "passed",
              "duration": 23372710
            }
          },
          {
            "keyword": "After",
            "hidden": true,
            "result": {
              "status": "passed",
              "duration": 748464445
            }
          }
        ],
        "tags": [
          {
            "name": "@ticket-0001",
            "line": 19
          },
          {
            "name": "@mock",
            "line": 19
          },
          {
            "name": "@real",
            "line": 19
          }
        ],
        "type": "scenario"
      },
      {
        "description": "",
        "id": "commit-status-visibility;build-step-reports-failure-when-tests-do-not-pass",
        "keyword": "Scenario",
        "line": 25,
        "name": "Build step reports failure when tests do not pass",
        "steps": [
          {
            "keyword": "Before",
            "hidden": true,
            "result": {
              "status": "passed",
              "duration": 1398283862
            }
          },
          {
            "arguments": [],
            "keyword": "Given ",
            "line": 7,
            "name": "a project repository exists in Gitea",
            "match": {
              "location": "tests/features/step_definitions/common.steps.js:29"
            },
            "result": {
              "status": "passed",
              "duration": 613553
            }
          },
          {
            "arguments": [],
            "keyword": "And ",
            "line": 8,
            "name": "a commit has been pushed to the repository",
            "match": {
              "location": "tests/features/step_definitions/common.steps.js:32"
            },
            "result": {
              "status": "passed",
              "duration": 259012
            }
          },
          {
            "arguments": [],
            "keyword": "When ",
            "line": 26,
            "name": "a build step fails",
            "match": {
              "location": "tests/features/step_definitions/commit-status.steps.js:63"
            },
            "result": {
              "status": "passed",
              "duration": 46393527
            }
          },
          {
            "arguments": [],
            "keyword": "Then ",
            "line": 27,
            "name": "the commit shows a failure status with a description of what went wrong",
            "match": {
              "location": "tests/features/step_definitions/commit-status.steps.js:68"
            },
            "result": {
              "status": "passed",
              "duration": 30555650
            }
          },
          {
            "keyword": "After",
            "hidden": true,
            "result": {
              "status": "passed",
              "duration": 599875777
            }
          }
        ],
        "tags": [
          {
            "name": "@ticket-0001",
            "line": 24
          },
          {
            "name": "@mock",
            "line": 24
          },
          {
            "name": "@real",
            "line": 24
          }
        ],
        "type": "scenario"
      },
      {
        "description": "",
        "id": "commit-status-visibility;multiple-build-steps-report-distinct-statuses-on-the-same-commit",
        "keyword": "Scenario",
        "line": 30,
        "name": "Multiple build steps report distinct statuses on the same commit",
        "steps": [
          {
            "keyword": "Before",
            "hidden": true,
            "result": {
              "status": "passed",
              "duration": 1384700410
            }
          },
          {
            "arguments": [],
            "keyword": "Given ",
            "line": 7,
            "name": "a project repository exists in Gitea",
            "match": {
              "location": "tests/features/step_definitions/common.steps.js:29"
            },
            "result": {
              "status": "passed",
              "duration": 341609
            }
          },
          {
            "arguments": [],
            "keyword": "And ",
            "line": 8,
            "name": "a commit has been pushed to the repository",
            "match": {
              "location": "tests/features/step_definitions/common.steps.js:32"
            },
            "result": {
              "status": "passed",
              "duration": 241790
            }
          },
          {
            "arguments": [],
            "keyword": "When ",
            "line": 31,
            "name": "several build steps each report their own status to the same commit",
            "match": {
              "location": "tests/features/step_definitions/commit-status.steps.js:74"
            },
            "result": {
              "status": "passed",
              "duration": 761975580
            }
          },
          {
            "arguments": [],
            "keyword": "Then ",
            "line": 32,
            "name": "each status appears under a unique label on the commit",
            "match": {
              "location": "tests/features/step_definitions/commit-status.steps.js:82"
            },
            "result": {
              "status": "passed",
              "duration": 950197282
            }
          },
          {
            "keyword": "After",
            "hidden": true,
            "result": {
              "status": "passed",
              "duration": 572554414
            }
          }
        ],
        "tags": [
          {
            "name": "@ticket-0001",
            "line": 29
          },
          {
            "name": "@mock",
            "line": 29
          },
          {
            "name": "@real",
            "line": 29
          }
        ],
        "type": "scenario"
      },
      {
        "description": "",
        "id": "commit-status-visibility;deployment-step-reports-status-back-to-the-source-commit",
        "keyword": "Scenario",
        "line": 35,
        "name": "Deployment step reports status back to the source commit",
        "steps": [
          {
            "keyword": "Before",
            "hidden": true,
            "result": {
              "status": "passed",
              "duration": 1628304591
            }
          },
          {
            "arguments": [],
            "keyword": "Given ",
            "line": 7,
            "name": "a project repository exists in Gitea",
            "match": {
              "location": "tests/features/step_definitions/common.steps.js:29"
            },
            "result": {
              "status": "passed",
              "duration": 378882
            }
          },
          {
            "arguments": [],
            "keyword": "And ",
            "line": 8,
            "name": "a commit has been pushed to the repository",
            "match": {
              "location": "tests/features/step_definitions/common.steps.js:32"
            },
            "result": {
              "status": "passed",
              "duration": 173288
            }
          },
          {
            "arguments": [],
            "keyword": "When ",
            "line": 36,
            "name": "a deployment finishes for a commit that originated from another repository",
            "match": {
              "location": "tests/features/step_definitions/commit-status.steps.js:95"
            },
            "result": {
              "status": "passed",
              "duration": 46002337
            }
          },
          {
            "arguments": [],
            "keyword": "Then ",
            "line": 37,
            "name": "the source commit shows the deployment status alongside the build status",
            "match": {
              "location": "tests/features/step_definitions/commit-status.steps.js:100"
            },
            "result": {
              "status": "passed",
              "duration": 58935961
            }
          },
          {
            "keyword": "After",
            "hidden": true,
            "result": {
              "status": "passed",
              "duration": 580528829
            }
          }
        ],
        "tags": [
          {
            "name": "@ticket-0001",
            "line": 34
          },
          {
            "name": "@mock",
            "line": 34
          },
          {
            "name": "@real",
            "line": 34
          }
        ],
        "type": "scenario"
      },
      {
        "description": "",
        "id": "commit-status-visibility;status-reporting-is-interrupted-when-the-build-system-cannot-be-reached",
        "keyword": "Scenario",
        "line": 40,
        "name": "Status reporting is interrupted when the build system cannot be reached",
        "steps": [
          {
            "keyword": "Before",
            "hidden": true,
            "result": {
              "status": "passed",
              "duration": 1384826022
            }
          },
          {
            "arguments": [],
            "keyword": "Given ",
            "line": 7,
            "name": "a project repository exists in Gitea",
            "match": {
              "location": "tests/features/step_definitions/common.steps.js:29"
            },
            "result": {
              "status": "passed",
              "duration": 476909
            }
          },
          {
            "arguments": [],
            "keyword": "And ",
            "line": 8,
            "name": "a commit has been pushed to the repository",
            "match": {
              "location": "tests/features/step_definitions/common.steps.js:32"
            },
            "result": {
              "status": "passed",
              "duration": 363181
            }
          },
          {
            "arguments": [],
            "keyword": "When ",
            "line": 41,
            "name": "a build step tries to report status but the build system is unavailable",
            "match": {
              "location": "tests/features/step_definitions/commit-status.steps.js:110"
            },
            "result": {
              "status": "passed",
              "duration": 1233639766
            }
          },
          {
            "arguments": [],
            "keyword": "Then ",
            "line": 42,
            "name": "the pipeline fails with a clear error message",
            "match": {
              "location": "tests/features/step_definitions/commit-status.steps.js:118"
            },
            "result": {
              "status": "passed",
              "duration": 507099
            }
          },
          {
            "keyword": "After",
            "hidden": true,
            "result": {
              "status": "passed",
              "duration": 580159873
            }
          }
        ],
        "tags": [
          {
            "name": "@ticket-0001",
            "line": 39
          },
          {
            "name": "@mock",
            "line": 39
          }
        ],
        "type": "scenario"
      }
    ],
    "id": "commit-status-visibility",
    "line": 1,
    "keyword": "Feature",
    "name": "Commit status visibility",
    "tags": [],
    "uri": "tests/features/commit-status.feature"
  },
  {
    "description": "  As a test engineer\n  I want integration and end-to-end tests to run automatically after deployment\n  So that I can verify the deployed version works correctly",
    "elements": [
      {
        "description": "",
        "id": "test-execution;dispatch-a-test-workflow-and-wait-for-its-completion",
        "keyword": "Scenario",
        "line": 15,
        "name": "Dispatch a test workflow and wait for its completion",
        "steps": [
          {
            "keyword": "Before",
            "hidden": true,
            "result": {
              "status": "passed",
              "duration": 1405805193
            }
          },
          {
            "arguments": [],
            "keyword": "Given ",
            "line": 7,
            "name": "a deployment has completed in the target environment",
            "match": {
              "location": "tests/features/step_definitions/test-execution.steps.js:60"
            },
            "result": {
              "status": "passed",
              "duration": 515866
            }
          },
          {
            "arguments": [],
            "keyword": "And ",
            "line": 8,
            "name": "the test project repository exists with test definitions",
            "match": {
              "location": "tests/features/step_definitions/test-execution.steps.js:63"
            },
            "result": {
              "status": "passed",
              "duration": 360733
            }
          },
          {
            "arguments": [],
            "keyword": "When ",
            "line": 16,
            "name": "a test workflow is dispatched to a test project",
            "match": {
              "location": "tests/features/step_definitions/test-execution.steps.js:66"
            },
            "result": {
              "status": "passed",
              "duration": 1047191206
            }
          },
          {
            "arguments": [],
            "keyword": "Then ",
            "line": 17,
            "name": "the pipeline waits until the test workflow finishes",
            "match": {
              "location": "tests/features/step_definitions/test-execution.steps.js:76"
            },
            "result": {
              "status": "passed",
              "duration": 459443
            }
          },
          {
            "arguments": [],
            "keyword": "And ",
            "line": 18,
            "name": "the pipeline continues only after receiving a success result",
            "match": {
              "location": "tests/features/step_definitions/test-execution.steps.js:80"
            },
            "result": {
              "status": "passed",
              "duration": 338721
            }
          },
          {
            "keyword": "After",
            "hidden": true,
            "result": {
              "status": "passed",
              "duration": 576983075
            }
          }
        ],
        "tags": [
          {
            "name": "@ticket-0002",
            "line": 14
          },
          {
            "name": "@mock",
            "line": 14
          },
          {
            "name": "@real",
            "line": 14
          }
        ],
        "type": "scenario"
      },
      {
        "description": "",
        "id": "test-execution;dispatch-fails-when-the-dispatched-test-workflow-fails",
        "keyword": "Scenario",
        "line": 21,
        "name": "Dispatch fails when the dispatched test workflow fails",
        "steps": [
          {
            "keyword": "Before",
            "hidden": true,
            "result": {
              "status": "passed",
              "duration": 1352242308
            }
          },
          {
            "arguments": [],
            "keyword": "Given ",
            "line": 7,
            "name": "a deployment has completed in the target environment",
            "match": {
              "location": "tests/features/step_definitions/test-execution.steps.js:60"
            },
            "result": {
              "status": "passed",
              "duration": 353011
            }
          },
          {
            "arguments": [],
            "keyword": "And ",
            "line": 8,
            "name": "the test project repository exists with test definitions",
            "match": {
              "location": "tests/features/step_definitions/test-execution.steps.js:63"
            },
            "result": {
              "status": "passed",
              "duration": 524764
            }
          },
          {
            "arguments": [],
            "keyword": "When ",
            "line": 22,
            "name": "a test workflow is dispatched and the tests fail",
            "match": {
              "location": "tests/features/step_definitions/test-execution.steps.js:84"
            },
            "result": {
              "status": "passed",
              "duration": 1173288157
            }
          },
          {
            "arguments": [],
            "keyword": "Then ",
            "line": 23,
            "name": "the calling pipeline reports failure",
            "match": {
              "location": "tests/features/step_definitions/test-execution.steps.js:94"
            },
            "result": {
              "status": "passed",
              "duration": 622182
            }
          },
          {
            "keyword": "After",
            "hidden": true,
            "result": {
              "status": "passed",
              "duration": 587494018
            }
          }
        ],
        "tags": [
          {
            "name": "@ticket-0002",
            "line": 20
          },
          {
            "name": "@mock",
            "line": 20
          },
          {
            "name": "@real",
            "line": 20
          }
        ],
        "type": "scenario"
      },
      {
        "description": "",
        "id": "test-execution;dispatch-times-out-when-the-test-workflow-takes-too-long",
        "keyword": "Scenario",
        "line": 26,
        "name": "Dispatch times out when the test workflow takes too long",
        "steps": [
          {
            "keyword": "Before",
            "hidden": true,
            "result": {
              "status": "passed",
              "duration": 1359413062
            }
          },
          {
            "arguments": [],
            "keyword": "Given ",
            "line": 7,
            "name": "a deployment has completed in the target environment",
            "match": {
              "location": "tests/features/step_definitions/test-execution.steps.js:60"
            },
            "result": {
              "status": "passed",
              "duration": 527300
            }
          },
          {
            "arguments": [],
            "keyword": "And ",
            "line": 8,
            "name": "the test project repository exists with test definitions",
            "match": {
              "location": "tests/features/step_definitions/test-execution.steps.js:63"
            },
            "result": {
              "status": "passed",
              "duration": 321780
            }
          },
          {
            "arguments": [],
            "keyword": "When ",
            "line": 27,
            "name": "a test workflow is dispatched but does not finish within the allowed time",
            "match": {
              "location": "tests/features/step_definitions/test-execution.steps.js:98"
            },
            "result": {
              "status": "passed",
              "duration": 1264241924
            }
          },
          {
            "arguments": [],
            "keyword": "Then ",
            "line": 28,
            "name": "the calling pipeline reports a timeout error",
            "match": {
              "location": "tests/features/step_definitions/test-execution.steps.js:110"
            },
            "result": {
              "status": "passed",
              "duration": 660842
            }
          },
          {
            "keyword": "After",
            "hidden": true,
            "result": {
              "status": "passed",
              "duration": 599031319
            }
          }
        ],
        "tags": [
          {
            "name": "@ticket-0002",
            "line": 25
          },
          {
            "name": "@mock",
            "line": 25
          }
        ],
        "type": "scenario"
      }
    ],
    "id": "test-execution",
    "line": 1,
    "keyword": "Feature",
    "name": "Test execution",
    "tags": [],
    "uri": "tests/features/test-execution.feature"
  }
]