{
  "scenario": "Cleanup updates the displayed size of a kept worktree",
  "failsOnBase": true,
  "passesOnHead": true,
  "couldNotRun": null,
  "baseSha": "1d5ebe3f8e6ec7cec898269f14a1e054c084f280",
  "headSha": "ebedea71ae94a5ace4afb8abc0e9d18665fd8965",
  "verdict": "Proven: the scenario fails on base `1d5ebe3f8e` and passes on head `ebedea71ae`.",
  "steps": {
    "base": [
      {
        "step": "app.open <pairing link>",
        "status": "passed"
      },
      {
        "step": "expect.not.toHaveURL /\\/pair(?:[?#]|$)/",
        "status": "passed"
      },
      {
        "step": "app.open /settings/maintenance",
        "status": "passed"
      },
      {
        "step": "locator.tap getByRole(\"button\", name: \"Delete now\")",
        "status": "passed"
      },
      {
        "step": "locator.tap getByRole(\"button\", name: /^Last run/)",
        "status": "passed"
      },
      {
        "step": "locator.waitFor getByText(/^8\\.\\d{2} MB$/) \u2192 visible",
        "status": "passed"
      },
      {
        "step": "locator.waitFor locator(\"#storage-cleanup-last-run [data-slot=\\\"settings-row\\\"]\").filter({ has: getByText(\"<scenario-checkout>/.t3/scenarios/worktrees/cleanup-size-orphan\") }) >> getByText(/^8\\.\\d{2} MB$/) \u2192 visible",
        "status": "passed"
      },
      {
        "step": "locator.tap getByRole(\"button\", name: \"Delete now\")",
        "status": "passed"
      },
      {
        "step": "locator.waitFor getByRole(\"button\", name: \"Delete now\") \u2192 visible",
        "status": "passed"
      },
      {
        "step": "locator.scrollIntoView getByText(\"No thread uses this worktree\")",
        "status": "passed"
      },
      {
        "step": "expect.toBeVisible locator(\"#storage-cleanup-last-run [data-slot=\\\"settings-row\\\"]\").filter({ has: getByText(\"<scenario-checkout>/.t3/scenarios/worktrees/cleanup-size-orphan\") }) >> getByText(/^\\d+(?:\\.\\d+)? KB$/)",
        "status": "failed"
      },
      {
        "step": "app.screenshot kept-worktree-after-build-file-removal",
        "status": "passed"
      }
    ],
    "head": [
      {
        "step": "app.open <pairing link>",
        "status": "passed"
      },
      {
        "step": "expect.not.toHaveURL /\\/pair(?:[?#]|$)/",
        "status": "passed"
      },
      {
        "step": "app.open /settings/maintenance",
        "status": "passed"
      },
      {
        "step": "locator.tap getByRole(\"button\", name: \"Delete now\")",
        "status": "passed"
      },
      {
        "step": "locator.tap getByRole(\"button\", name: /^Last run/)",
        "status": "passed"
      },
      {
        "step": "locator.waitFor getByText(/^8\\.\\d{2} MB$/) \u2192 visible",
        "status": "passed"
      },
      {
        "step": "locator.waitFor locator(\"#storage-cleanup-last-run [data-slot=\\\"settings-row\\\"]\").filter({ has: getByText(\"<scenario-checkout>/.t3/scenarios/worktrees/cleanup-size-orphan\") }) >> getByText(/^8\\.\\d{2} MB$/) \u2192 visible",
        "status": "passed"
      },
      {
        "step": "locator.tap getByRole(\"button\", name: \"Delete now\")",
        "status": "passed"
      },
      {
        "step": "locator.waitFor getByRole(\"button\", name: \"Delete now\") \u2192 visible",
        "status": "passed"
      },
      {
        "step": "locator.scrollIntoView getByText(\"No thread uses this worktree\")",
        "status": "passed"
      },
      {
        "step": "expect.toBeVisible locator(\"#storage-cleanup-last-run [data-slot=\\\"settings-row\\\"]\").filter({ has: getByText(\"<scenario-checkout>/.t3/scenarios/worktrees/cleanup-size-orphan\") }) >> getByText(/^\\d+(?:\\.\\d+)? KB$/)",
        "status": "passed"
      },
      {
        "step": "expect.toContainText locator(\"#storage-cleanup-last-run\")",
        "status": "passed"
      },
      {
        "step": "app.screenshot kept-worktree-after-build-file-removal",
        "status": "passed"
      }
    ]
  },
  "captures": [
    "<scenario-checkout>/scripts/.e2e/prove/base/results/orphan-worktree-cleanup-refreshes-size-cleanup-updates-the-displayed-5c3d60c3f699baa8/attempt-1/screenshots/001-kept-worktree-after-build-file-removal.png",
    "<scenario-checkout>/scripts/.e2e/prove/base/results/orphan-worktree-cleanup-refreshes-size-cleanup-updates-the-displayed-5c3d60c3f699baa8/attempt-1/screenshots/002-failure.png",
    "<scenario-checkout>/scripts/.e2e/prove/head/results/orphan-worktree-cleanup-refreshes-size-cleanup-updates-the-displayed-5c3d60c3f699baa8/attempt-1/screenshots/001-kept-worktree-after-build-file-removal.png"
  ],
  "videos": [
    "<scenario-checkout>/scripts/.e2e/prove/base/results/orphan-worktree-cleanup-refreshes-size-cleanup-updates-the-displayed-5c3d60c3f699baa8/attempt-1/video/video.webm",
    "<scenario-checkout>/scripts/.e2e/prove/head/results/orphan-worktree-cleanup-refreshes-size-cleanup-updates-the-displayed-5c3d60c3f699baa8/attempt-1/video/video.webm"
  ],
  "markdown": "### Scenario: Cleanup updates the displayed size of a kept worktree\n\n**Proven: the scenario fails on base `1d5ebe3f8e` and passes on head `ebedea71ae`.**\n\n|  | Base `1d5ebe3f8e` | Head `ebedea71ae` |\n| --- | --- | --- |\n| Result | \u274c failed<br>ASSERTION_FAILED: expect.toBeVisible failed<br>locator: locator(\"#storage-cleanup-last-run [data-slot=\\\"settings-row\\\"]\").filter({ has: getByText(\"<scenario-checkout>/.t3/scenarios/worktrees/cleanup-size-orphan\") }) >> getByText(/^\\d+(?:\\.\\d+)? KB$/)<br>expected: visible<br>observed: no node (match count 0) | \u2705 passed |\n| kept worktree after build file removal | ![Base 1d5ebe3f8e: kept worktree after build file removal](<scenario-checkout>/scripts/.e2e/prove/base/results/orphan-worktree-cleanup-refreshes-size-cleanup-updates-the-displayed-5c3d60c3f699baa8/attempt-1/screenshots/001-kept-worktree-after-build-file-removal.png) | ![Head ebedea71ae: kept worktree after build file removal](<scenario-checkout>/scripts/.e2e/prove/head/results/orphan-worktree-cleanup-refreshes-size-cleanup-updates-the-displayed-5c3d60c3f699baa8/attempt-1/screenshots/001-kept-worktree-after-build-file-removal.png) |\n| failure | ![Base 1d5ebe3f8e: failure](<scenario-checkout>/scripts/.e2e/prove/base/results/orphan-worktree-cleanup-refreshes-size-cleanup-updates-the-displayed-5c3d60c3f699baa8/attempt-1/screenshots/002-failure.png) |  |\n",
  "base": {
    "sha": "1d5ebe3f8e6ec7cec898269f14a1e054c084f280",
    "status": "failed",
    "title": "Cleanup updates the displayed size of a kept worktree",
    "message": "ASSERTION_FAILED: expect.toBeVisible failed\nlocator: locator(\"#storage-cleanup-last-run [data-slot=\\\"settings-row\\\"]\").filter({ has: getByText(\"<scenario-checkout>/.t3/scenarios/worktrees/cleanup-size-orphan\") }) >> getByText(/^\\d+(?:\\.\\d+)? KB$/)\nexpected: visible\nobserved: no node (match count 0)",
    "steps": [
      {
        "step": "app.open <pairing link>",
        "status": "passed"
      },
      {
        "step": "expect.not.toHaveURL /\\/pair(?:[?#]|$)/",
        "status": "passed"
      },
      {
        "step": "app.open /settings/maintenance",
        "status": "passed"
      },
      {
        "step": "locator.tap getByRole(\"button\", name: \"Delete now\")",
        "status": "passed"
      },
      {
        "step": "locator.tap getByRole(\"button\", name: /^Last run/)",
        "status": "passed"
      },
      {
        "step": "locator.waitFor getByText(/^8\\.\\d{2} MB$/) \u2192 visible",
        "status": "passed"
      },
      {
        "step": "locator.waitFor locator(\"#storage-cleanup-last-run [data-slot=\\\"settings-row\\\"]\").filter({ has: getByText(\"<scenario-checkout>/.t3/scenarios/worktrees/cleanup-size-orphan\") }) >> getByText(/^8\\.\\d{2} MB$/) \u2192 visible",
        "status": "passed"
      },
      {
        "step": "locator.tap getByRole(\"button\", name: \"Delete now\")",
        "status": "passed"
      },
      {
        "step": "locator.waitFor getByRole(\"button\", name: \"Delete now\") \u2192 visible",
        "status": "passed"
      },
      {
        "step": "locator.scrollIntoView getByText(\"No thread uses this worktree\")",
        "status": "passed"
      },
      {
        "step": "expect.toBeVisible locator(\"#storage-cleanup-last-run [data-slot=\\\"settings-row\\\"]\").filter({ has: getByText(\"<scenario-checkout>/.t3/scenarios/worktrees/cleanup-size-orphan\") }) >> getByText(/^\\d+(?:\\.\\d+)? KB$/)",
        "status": "failed"
      },
      {
        "step": "app.screenshot kept-worktree-after-build-file-removal",
        "status": "passed"
      }
    ],
    "captures": [
      "<scenario-checkout>/scripts/.e2e/prove/base/results/orphan-worktree-cleanup-refreshes-size-cleanup-updates-the-displayed-5c3d60c3f699baa8/attempt-1/screenshots/001-kept-worktree-after-build-file-removal.png",
      "<scenario-checkout>/scripts/.e2e/prove/base/results/orphan-worktree-cleanup-refreshes-size-cleanup-updates-the-displayed-5c3d60c3f699baa8/attempt-1/screenshots/002-failure.png"
    ],
    "videos": [
      "<scenario-checkout>/scripts/.e2e/prove/base/results/orphan-worktree-cleanup-refreshes-size-cleanup-updates-the-displayed-5c3d60c3f699baa8/attempt-1/video/video.webm"
    ]
  },
  "head": {
    "sha": "ebedea71ae94a5ace4afb8abc0e9d18665fd8965",
    "status": "passed",
    "title": "Cleanup updates the displayed size of a kept worktree",
    "steps": [
      {
        "step": "app.open <pairing link>",
        "status": "passed"
      },
      {
        "step": "expect.not.toHaveURL /\\/pair(?:[?#]|$)/",
        "status": "passed"
      },
      {
        "step": "app.open /settings/maintenance",
        "status": "passed"
      },
      {
        "step": "locator.tap getByRole(\"button\", name: \"Delete now\")",
        "status": "passed"
      },
      {
        "step": "locator.tap getByRole(\"button\", name: /^Last run/)",
        "status": "passed"
      },
      {
        "step": "locator.waitFor getByText(/^8\\.\\d{2} MB$/) \u2192 visible",
        "status": "passed"
      },
      {
        "step": "locator.waitFor locator(\"#storage-cleanup-last-run [data-slot=\\\"settings-row\\\"]\").filter({ has: getByText(\"<scenario-checkout>/.t3/scenarios/worktrees/cleanup-size-orphan\") }) >> getByText(/^8\\.\\d{2} MB$/) \u2192 visible",
        "status": "passed"
      },
      {
        "step": "locator.tap getByRole(\"button\", name: \"Delete now\")",
        "status": "passed"
      },
      {
        "step": "locator.waitFor getByRole(\"button\", name: \"Delete now\") \u2192 visible",
        "status": "passed"
      },
      {
        "step": "locator.scrollIntoView getByText(\"No thread uses this worktree\")",
        "status": "passed"
      },
      {
        "step": "expect.toBeVisible locator(\"#storage-cleanup-last-run [data-slot=\\\"settings-row\\\"]\").filter({ has: getByText(\"<scenario-checkout>/.t3/scenarios/worktrees/cleanup-size-orphan\") }) >> getByText(/^\\d+(?:\\.\\d+)? KB$/)",
        "status": "passed"
      },
      {
        "step": "expect.toContainText locator(\"#storage-cleanup-last-run\")",
        "status": "passed"
      },
      {
        "step": "app.screenshot kept-worktree-after-build-file-removal",
        "status": "passed"
      }
    ],
    "captures": [
      "<scenario-checkout>/scripts/.e2e/prove/head/results/orphan-worktree-cleanup-refreshes-size-cleanup-updates-the-displayed-5c3d60c3f699baa8/attempt-1/screenshots/001-kept-worktree-after-build-file-removal.png"
    ],
    "videos": [
      "<scenario-checkout>/scripts/.e2e/prove/head/results/orphan-worktree-cleanup-refreshes-size-cleanup-updates-the-displayed-5c3d60c3f699baa8/attempt-1/video/video.webm"
    ]
  }
}