[
  {
    "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": 2661013598
            }
          },
          {
            "keyword": "Before",
            "hidden": true,
            "result": {
              "status": "passed",
              "duration": 1431597561
            }
          },
          {
            "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": 685819
            }
          },
          {
            "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": 299710
            }
          },
          {
            "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": 71432420
            }
          },
          {
            "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": 57340264
            }
          },
          {
            "keyword": "After",
            "hidden": true,
            "result": {
              "status": "passed",
              "duration": 587975271
            }
          },
          {
            "keyword": "After",
            "hidden": true,
            "result": {
              "status": "passed",
              "duration": 41003767
            }
          }
        ],
        "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": 1373502950
            }
          },
          {
            "keyword": "Before",
            "hidden": true,
            "result": {
              "status": "passed",
              "duration": 1518531804
            }
          },
          {
            "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": 657408
            }
          },
          {
            "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": 492196
            }
          },
          {
            "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": 64108869
            }
          },
          {
            "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": 27536820
            }
          },
          {
            "keyword": "After",
            "hidden": true,
            "result": {
              "status": "passed",
              "duration": 593617592
            }
          },
          {
            "keyword": "After",
            "hidden": true,
            "result": {
              "status": "passed",
              "duration": 41877053
            }
          }
        ],
        "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": 1345088196
            }
          },
          {
            "keyword": "Before",
            "hidden": true,
            "result": {
              "status": "passed",
              "duration": 1421522653
            }
          },
          {
            "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": 860560
            }
          },
          {
            "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": 372906
            }
          },
          {
            "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": 62740892
            }
          },
          {
            "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": 35328689
            }
          },
          {
            "keyword": "After",
            "hidden": true,
            "result": {
              "status": "passed",
              "duration": 593501549
            }
          },
          {
            "keyword": "After",
            "hidden": true,
            "result": {
              "status": "passed",
              "duration": 55237063
            }
          }
        ],
        "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": 1376786199
            }
          },
          {
            "keyword": "Before",
            "hidden": true,
            "result": {
              "status": "passed",
              "duration": 1420528014
            }
          },
          {
            "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": 394522
            }
          },
          {
            "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": 176376
            }
          },
          {
            "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": 778570701
            }
          },
          {
            "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": 832286186
            }
          },
          {
            "keyword": "After",
            "hidden": true,
            "result": {
              "status": "passed",
              "duration": 589706321
            }
          },
          {
            "keyword": "After",
            "hidden": true,
            "result": {
              "status": "passed",
              "duration": 46865530
            }
          }
        ],
        "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": 1340971201
            }
          },
          {
            "keyword": "Before",
            "hidden": true,
            "result": {
              "status": "passed",
              "duration": 1403017294
            }
          },
          {
            "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": 171909
            }
          },
          {
            "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": 257298
            }
          },
          {
            "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": 48033163
            }
          },
          {
            "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": 82488833
            }
          },
          {
            "keyword": "After",
            "hidden": true,
            "result": {
              "status": "passed",
              "duration": 587317677
            }
          },
          {
            "keyword": "After",
            "hidden": true,
            "result": {
              "status": "passed",
              "duration": 50965315
            }
          }
        ],
        "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": 1393090236
            }
          },
          {
            "keyword": "Before",
            "hidden": true,
            "result": {
              "status": "passed",
              "duration": 1478065359
            }
          },
          {
            "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": 240074
            }
          },
          {
            "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": 244585
            }
          },
          {
            "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": 1259807004
            }
          },
          {
            "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": 395821
            }
          },
          {
            "keyword": "After",
            "hidden": true,
            "result": {
              "status": "passed",
              "duration": 584774016
            }
          },
          {
            "keyword": "After",
            "hidden": true,
            "result": {
              "status": "passed",
              "duration": 70814592
            }
          }
        ],
        "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 GitOps repository\n  I want to update version references and report results to the caller\n  So that the deployment chain is traceable from source to GitOps commit",
    "elements": [
      {
        "description": "",
        "id": "gitops-update;not-enough-env-vars-—-script-fails,-no-status-set",
        "keyword": "Scenario",
        "line": 11,
        "name": "Not enough env vars — script fails, no status set",
        "steps": [
          {
            "keyword": "Before",
            "hidden": true,
            "result": {
              "status": "passed",
              "duration": 1358890516
            }
          },
          {
            "keyword": "Before",
            "hidden": true,
            "result": {
              "status": "passed",
              "duration": 1502554069
            }
          },
          {
            "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": 4526255
            }
          },
          {
            "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": 2258435
            }
          },
          {
            "arguments": [],
            "keyword": "Given ",
            "line": 12,
            "name": "insufficient environment variables are provided for the GitOps update",
            "match": {
              "location": "tests/features/step_definitions/gitops-update.steps.js:96"
            },
            "result": {
              "status": "passed",
              "duration": 853401
            }
          },
          {
            "arguments": [],
            "keyword": "When ",
            "line": 13,
            "name": "the GitOps update script runs",
            "match": {
              "location": "tests/features/step_definitions/gitops-update.steps.js:119"
            },
            "result": {
              "status": "passed",
              "duration": 42975303
            }
          },
          {
            "arguments": [],
            "keyword": "Then ",
            "line": 14,
            "name": "the script exits with error",
            "match": {
              "location": "tests/features/step_definitions/gitops-update.steps.js:123"
            },
            "result": {
              "status": "passed",
              "duration": 734101
            }
          },
          {
            "keyword": "After",
            "hidden": true,
            "result": {
              "status": "passed",
              "duration": 603341465
            }
          },
          {
            "keyword": "After",
            "hidden": true,
            "result": {
              "status": "passed",
              "duration": 36236421
            }
          }
        ],
        "tags": [
          {
            "name": "@mock",
            "line": 10
          }
        ],
        "type": "scenario"
      },
      {
        "description": "",
        "id": "gitops-update;gitops-job-fails-—-no-status-set-(sha-not-yet-known)",
        "keyword": "Scenario",
        "line": 17,
        "name": "GitOps job fails — no status set (SHA not yet known)",
        "steps": [
          {
            "keyword": "Before",
            "hidden": true,
            "result": {
              "status": "passed",
              "duration": 1336588627
            }
          },
          {
            "keyword": "Before",
            "hidden": true,
            "result": {
              "status": "passed",
              "duration": 1425200813
            }
          },
          {
            "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": 283317
            }
          },
          {
            "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": 178329
            }
          },
          {
            "arguments": [],
            "keyword": "Given ",
            "line": 18,
            "name": "the GitOps repository clone will fail",
            "match": {
              "location": "tests/features/step_definitions/gitops-update.steps.js:100"
            },
            "result": {
              "status": "passed",
              "duration": 524508
            }
          },
          {
            "arguments": [],
            "keyword": "When ",
            "line": 19,
            "name": "the GitOps update script runs",
            "match": {
              "location": "tests/features/step_definitions/gitops-update.steps.js:119"
            },
            "result": {
              "status": "passed",
              "duration": 55981578
            }
          },
          {
            "arguments": [],
            "keyword": "Then ",
            "line": 20,
            "name": "the script exits with error",
            "match": {
              "location": "tests/features/step_definitions/gitops-update.steps.js:123"
            },
            "result": {
              "status": "passed",
              "duration": 226185
            }
          },
          {
            "keyword": "After",
            "hidden": true,
            "result": {
              "status": "passed",
              "duration": 596896614
            }
          },
          {
            "keyword": "After",
            "hidden": true,
            "result": {
              "status": "passed",
              "duration": 55583225
            }
          }
        ],
        "tags": [
          {
            "name": "@mock",
            "line": 16
          }
        ],
        "type": "scenario"
      },
      {
        "description": "",
        "id": "gitops-update;everything-succeeds-—-gitops-repo-gets-success-status-with-link-to-caller",
        "keyword": "Scenario",
        "line": 23,
        "name": "Everything succeeds — GitOps repo gets success status with link to caller",
        "steps": [
          {
            "keyword": "Before",
            "hidden": true,
            "result": {
              "status": "passed",
              "duration": 1336501357
            }
          },
          {
            "keyword": "Before",
            "hidden": true,
            "result": {
              "status": "passed",
              "duration": 1431222716
            }
          },
          {
            "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": 262148
            }
          },
          {
            "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": 206191
            }
          },
          {
            "arguments": [],
            "keyword": "Given ",
            "line": 24,
            "name": "a valid GitOps update dispatch",
            "match": {
              "location": "tests/features/step_definitions/gitops-update.steps.js:104"
            },
            "result": {
              "status": "passed",
              "duration": 403658
            }
          },
          {
            "arguments": [],
            "keyword": "When ",
            "line": 25,
            "name": "the GitOps update script runs",
            "match": {
              "location": "tests/features/step_definitions/gitops-update.steps.js:119"
            },
            "result": {
              "status": "passed",
              "duration": 1063139730
            }
          },
          {
            "arguments": [],
            "keyword": "Then ",
            "line": 26,
            "name": "the script exits successfully",
            "match": {
              "location": "tests/features/step_definitions/gitops-update.steps.js:127"
            },
            "result": {
              "status": "passed",
              "duration": 699530
            }
          },
          {
            "arguments": [],
            "keyword": "And ",
            "line": 27,
            "name": "the GitOps repo commit shows a success status with a link to the caller commit",
            "match": {
              "location": "tests/features/step_definitions/gitops-update.steps.js:131"
            },
            "result": {
              "status": "passed",
              "duration": 82916783
            }
          },
          {
            "keyword": "After",
            "hidden": true,
            "result": {
              "status": "passed",
              "duration": 601097195
            }
          },
          {
            "keyword": "After",
            "hidden": true,
            "result": {
              "status": "passed",
              "duration": 91480518
            }
          }
        ],
        "tags": [
          {
            "name": "@mock",
            "line": 22
          }
        ],
        "type": "scenario"
      },
      {
        "description": "",
        "id": "gitops-update;gitops-push-fails-—-gitops-repo-gets-failure-status",
        "keyword": "Scenario",
        "line": 30,
        "name": "GitOps push fails — GitOps repo gets failure status",
        "steps": [
          {
            "keyword": "Before",
            "hidden": true,
            "result": {
              "status": "passed",
              "duration": 1374653989
            }
          },
          {
            "keyword": "Before",
            "hidden": true,
            "result": {
              "status": "passed",
              "duration": 1419330672
            }
          },
          {
            "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": 277024
            }
          },
          {
            "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": 204127
            }
          },
          {
            "arguments": [],
            "keyword": "Given ",
            "line": 31,
            "name": "the GitOps repo push will fail after the version is committed",
            "match": {
              "location": "tests/features/step_definitions/gitops-update.steps.js:108"
            },
            "result": {
              "status": "passed",
              "duration": 493400
            }
          },
          {
            "arguments": [],
            "keyword": "When ",
            "line": 32,
            "name": "the GitOps update script runs",
            "match": {
              "location": "tests/features/step_definitions/gitops-update.steps.js:119"
            },
            "result": {
              "status": "passed",
              "duration": 189815603
            }
          },
          {
            "arguments": [],
            "keyword": "Then ",
            "line": 33,
            "name": "the script exits with error",
            "match": {
              "location": "tests/features/step_definitions/gitops-update.steps.js:123"
            },
            "result": {
              "status": "passed",
              "duration": 254732
            }
          },
          {
            "arguments": [],
            "keyword": "And ",
            "line": 34,
            "name": "the GitOps repo commit shows a failure status linking to the caller commit",
            "match": {
              "location": "tests/features/step_definitions/gitops-update.steps.js:143"
            },
            "result": {
              "status": "passed",
              "duration": 69262569
            }
          },
          {
            "keyword": "After",
            "hidden": true,
            "result": {
              "status": "passed",
              "duration": 668698223
            }
          },
          {
            "keyword": "After",
            "hidden": true,
            "result": {
              "status": "passed",
              "duration": 147682013
            }
          }
        ],
        "tags": [
          {
            "name": "@mock",
            "line": 29
          }
        ],
        "type": "scenario"
      },
      {
        "description": "",
        "id": "gitops-update;no-changes-—-gitops-repo-gets-\"no-change\"-status",
        "keyword": "Scenario",
        "line": 37,
        "name": "No changes — GitOps repo gets \"no change\" status",
        "steps": [
          {
            "keyword": "Before",
            "hidden": true,
            "result": {
              "status": "passed",
              "duration": 1397283030
            }
          },
          {
            "keyword": "Before",
            "hidden": true,
            "result": {
              "status": "passed",
              "duration": 1427516246
            }
          },
          {
            "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": 326074
            }
          },
          {
            "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": 154064
            }
          },
          {
            "arguments": [],
            "keyword": "Given ",
            "line": 38,
            "name": "the version file already has the target version",
            "match": {
              "location": "tests/features/step_definitions/gitops-update.steps.js:112"
            },
            "result": {
              "status": "passed",
              "duration": 381246
            }
          },
          {
            "arguments": [],
            "keyword": "When ",
            "line": 39,
            "name": "the GitOps update script runs",
            "match": {
              "location": "tests/features/step_definitions/gitops-update.steps.js:119"
            },
            "result": {
              "status": "passed",
              "duration": 844346721
            }
          },
          {
            "arguments": [],
            "keyword": "Then ",
            "line": 40,
            "name": "the script exits successfully",
            "match": {
              "location": "tests/features/step_definitions/gitops-update.steps.js:127"
            },
            "result": {
              "status": "passed",
              "duration": 330322
            }
          },
          {
            "arguments": [],
            "keyword": "And ",
            "line": 41,
            "name": "the GitOps repo commit shows a \"no change\" status",
            "match": {
              "location": "tests/features/step_definitions/gitops-update.steps.js:155"
            },
            "result": {
              "status": "passed",
              "duration": 139972644
            }
          },
          {
            "arguments": [],
            "keyword": "And ",
            "line": 42,
            "name": "no Git commit or push was performed",
            "match": {
              "location": "tests/features/step_definitions/gitops-update.steps.js:167"
            },
            "result": {
              "status": "passed",
              "duration": 37960657
            }
          },
          {
            "keyword": "After",
            "hidden": true,
            "result": {
              "status": "passed",
              "duration": 628691698
            }
          },
          {
            "keyword": "After",
            "hidden": true,
            "result": {
              "status": "passed",
              "duration": 107426338
            }
          }
        ],
        "tags": [
          {
            "name": "@mock",
            "line": 36
          }
        ],
        "type": "scenario"
      }
    ],
    "id": "gitops-update",
    "line": 1,
    "keyword": "Feature",
    "name": "GitOps update",
    "tags": [],
    "uri": "tests/features/gitops-update.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": 1453622995
            }
          },
          {
            "keyword": "Before",
            "hidden": true,
            "result": {
              "status": "passed",
              "duration": 1472372484
            }
          },
          {
            "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": 504051
            }
          },
          {
            "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": 247482
            }
          },
          {
            "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": 1280864618
            }
          },
          {
            "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": 502743
            }
          },
          {
            "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": 297145
            }
          },
          {
            "keyword": "After",
            "hidden": true,
            "result": {
              "status": "passed",
              "duration": 593335001
            }
          },
          {
            "keyword": "After",
            "hidden": true,
            "result": {
              "status": "passed",
              "duration": 71754419
            }
          }
        ],
        "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": 1340038862
            }
          },
          {
            "keyword": "Before",
            "hidden": true,
            "result": {
              "status": "passed",
              "duration": 1473690753
            }
          },
          {
            "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": 284664
            }
          },
          {
            "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": 179183
            }
          },
          {
            "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": 1066914764
            }
          },
          {
            "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": 1190023
            }
          },
          {
            "keyword": "After",
            "hidden": true,
            "result": {
              "status": "passed",
              "duration": 586462154
            }
          },
          {
            "keyword": "After",
            "hidden": true,
            "result": {
              "status": "passed",
              "duration": 58903458
            }
          }
        ],
        "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": 1385550687
            }
          },
          {
            "keyword": "Before",
            "hidden": true,
            "result": {
              "status": "passed",
              "duration": 1474953249
            }
          },
          {
            "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": 248775
            }
          },
          {
            "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": 183557
            }
          },
          {
            "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": 3229010666
            }
          },
          {
            "arguments": [],
            "keyword": "Then ",
            "line": 28,
            "name": "the calling pipeline reports a timeout error",
            "match": {
              "location": "tests/features/step_definitions/test-execution.steps.js:112"
            },
            "result": {
              "status": "passed",
              "duration": 503827
            }
          },
          {
            "keyword": "After",
            "hidden": true,
            "result": {
              "status": "passed",
              "duration": 585300285
            }
          },
          {
            "keyword": "After",
            "hidden": true,
            "result": {
              "status": "passed",
              "duration": 83643401
            }
          }
        ],
        "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"
  }
]