{
  "scenario": "Connected environment history is reachable by query and menu and imports all three sources",
  "failsOnBase": true,
  "passesOnHead": true,
  "couldNotRun": null,
  "baseSha": "9246c3235e190a669c81a75a5f3b020aaea422be",
  "headSha": "656a3e174f4dd444b152f9f08bba7996ba5514d6",
  "verdict": "Proven: the scenario fails on base `9246c3235e` and passes on head `656a3e174f`.",
  "steps": {
    "base": [
      {
        "step": "app.open <pairing link>",
        "status": "passed"
      },
      {
        "step": "expect.not.toHaveURL /\\/pair(?:[?#]|$)/",
        "status": "passed"
      },
      {
        "step": "app.open /settings/connections",
        "status": "passed"
      },
      {
        "step": "locator.tap getByRole(\"button\", name: \"Add environment\")",
        "status": "passed"
      },
      {
        "step": "locator.fill getByRole(\"dialog\") >> getByPlaceholder(\"backend.example.com\")",
        "status": "passed"
      },
      {
        "step": "locator.fill getByRole(\"dialog\") >> getByPlaceholder(\"PAIRCODE\")",
        "status": "passed"
      },
      {
        "step": "locator.tap getByRole(\"dialog\") >> getByRole(\"button\", name: \"Add environment\")",
        "status": "passed"
      },
      {
        "step": "locator.waitFor getByRole(\"button\", name: \"More actions for History server\") \u2192 visible",
        "status": "passed"
      },
      {
        "step": "locator.waitFor getByText(/ \u00b7 Connected$/) \u2192 visible",
        "status": "passed"
      },
      {
        "step": "locator.press getByRole(\"button\", name: \"More actions for History server\")",
        "status": "passed"
      },
      {
        "step": "app.screenshot connected-environment-menu",
        "status": "passed"
      },
      {
        "step": "browser.keyboard.press Escape",
        "status": "passed"
      },
      {
        "step": "app.open /settings/about",
        "status": "passed"
      },
      {
        "step": "locator.tap getByRole(\"link\", name: \"Open\")",
        "status": "passed"
      },
      {
        "step": "locator.tap getByRole(\"button\", name: /Review all/)",
        "status": "passed"
      },
      {
        "step": "app.screenshot about-primary-history",
        "status": "passed"
      },
      {
        "step": "app.open /welcome#agents:f3530c7f-664a-44f5-a7a2-74c8557251d4",
        "status": "passed"
      },
      {
        "step": "locator.tap getByRole(\"button\", name: /Review all/)",
        "status": "passed"
      },
      {
        "step": "app.screenshot hash-secondary-history",
        "status": "passed"
      },
      {
        "step": "app.open /welcome?environmentId=f3530c7f-664a-44f5-a7a2-74c8557251d4",
        "status": "passed"
      },
      {
        "step": "locator.tap getByRole(\"button\", name: /Review all/)",
        "status": "passed"
      },
      {
        "step": "app.screenshot typed-query-history",
        "status": "passed"
      },
      {
        "step": "expect.toBeVisible getByText(\"Setting up History server.\")",
        "status": "failed"
      }
    ],
    "head": [
      {
        "step": "app.open <pairing link>",
        "status": "passed"
      },
      {
        "step": "expect.not.toHaveURL /\\/pair(?:[?#]|$)/",
        "status": "passed"
      },
      {
        "step": "app.open /settings/connections",
        "status": "passed"
      },
      {
        "step": "locator.tap getByRole(\"button\", name: \"Add environment\")",
        "status": "passed"
      },
      {
        "step": "locator.fill getByRole(\"dialog\") >> getByPlaceholder(\"backend.example.com\")",
        "status": "passed"
      },
      {
        "step": "locator.fill getByRole(\"dialog\") >> getByPlaceholder(\"PAIRCODE\")",
        "status": "passed"
      },
      {
        "step": "locator.tap getByRole(\"dialog\") >> getByRole(\"button\", name: \"Add environment\")",
        "status": "passed"
      },
      {
        "step": "locator.waitFor getByRole(\"button\", name: \"More actions for History server\") \u2192 visible",
        "status": "passed"
      },
      {
        "step": "locator.waitFor getByText(/ \u00b7 Connected$/) \u2192 visible",
        "status": "passed"
      },
      {
        "step": "locator.press getByRole(\"button\", name: \"More actions for History server\")",
        "status": "passed"
      },
      {
        "step": "app.screenshot connected-environment-menu",
        "status": "passed"
      },
      {
        "step": "browser.keyboard.press Escape",
        "status": "passed"
      },
      {
        "step": "app.open /settings/about",
        "status": "passed"
      },
      {
        "step": "locator.tap getByRole(\"link\", name: \"Open\")",
        "status": "passed"
      },
      {
        "step": "locator.tap getByRole(\"button\", name: /Review all/)",
        "status": "passed"
      },
      {
        "step": "app.screenshot about-primary-history",
        "status": "passed"
      },
      {
        "step": "app.open /welcome#agents:ef48a195-5708-4e0b-b6c6-87581d1768d8",
        "status": "passed"
      },
      {
        "step": "locator.tap getByRole(\"button\", name: /Review all/)",
        "status": "passed"
      },
      {
        "step": "app.screenshot hash-secondary-history",
        "status": "passed"
      },
      {
        "step": "app.open /welcome?environmentId=ef48a195-5708-4e0b-b6c6-87581d1768d8",
        "status": "passed"
      },
      {
        "step": "locator.tap getByRole(\"button\", name: /Review all/)",
        "status": "passed"
      },
      {
        "step": "app.screenshot typed-query-history",
        "status": "passed"
      },
      {
        "step": "expect.toBeVisible getByText(\"Setting up History server.\")",
        "status": "passed"
      },
      {
        "step": "expect.toBeVisible getByText(\"build-api\").first()",
        "status": "passed"
      },
      {
        "step": "app.open /settings/connections",
        "status": "passed"
      },
      {
        "step": "locator.waitFor getByText(/ \u00b7 Connected$/) \u2192 visible",
        "status": "passed"
      },
      {
        "step": "locator.press getByRole(\"button\", name: \"More actions for History server\")",
        "status": "passed"
      },
      {
        "step": "locator.press getByRole(\"menuitem\", name: /^Import sessions/)",
        "status": "passed"
      },
      {
        "step": "locator.waitFor getByRole(\"heading\", name: \"Welcome to T3 Code\") \u2192 visible",
        "status": "passed"
      },
      {
        "step": "locator.tap getByRole(\"button\", name: /Review all/)",
        "status": "passed"
      },
      {
        "step": "app.screenshot menu-history-three-sources",
        "status": "passed"
      },
      {
        "step": "locator.tap getByRole(\"button\", name: \"Import 1 project and start\")",
        "status": "passed"
      },
      {
        "step": "locator.waitFor getByRole(\"heading\", name: \"Welcome to T3 Code\") \u2192 hidden",
        "status": "passed"
      },
      {
        "step": "app.open /ef48a195-5708-4e0b-b6c6-87581d1768d8/import:claudeAgent:11111111-1111-4111-8111-111111111111",
        "status": "passed"
      },
      {
        "step": "expect.toBeVisible getByText(\"Claude history imported successfully.\")",
        "status": "passed"
      },
      {
        "step": "locator.tap getByRole(\"button\", name: /^Dismiss .* provider (error|warning)$/)",
        "status": "passed"
      },
      {
        "step": "locator.scrollIntoView getByText(\"Claude history imported successfully.\")",
        "status": "passed"
      },
      {
        "step": "app.screenshot imported-Claude-transcript",
        "status": "passed"
      },
      {
        "step": "app.open /ef48a195-5708-4e0b-b6c6-87581d1768d8/import:codex:22222222-2222-4222-8222-222222222222",
        "status": "passed"
      },
      {
        "step": "expect.toBeVisible getByText(\"Codex history imported successfully.\")",
        "status": "passed"
      },
      {
        "step": "locator.tap getByRole(\"button\", name: /^Dismiss .* provider (error|warning)$/)",
        "status": "passed"
      },
      {
        "step": "locator.scrollIntoView getByText(\"Codex history imported successfully.\")",
        "status": "passed"
      },
      {
        "step": "app.screenshot imported-Codex-transcript",
        "status": "passed"
      },
      {
        "step": "app.open /ef48a195-5708-4e0b-b6c6-87581d1768d8/import:pi:33333333-3333-4333-8333-333333333333",
        "status": "passed"
      },
      {
        "step": "expect.toBeVisible getByText(\"Pi history imported successfully.\")",
        "status": "passed"
      },
      {
        "step": "locator.tap getByRole(\"button\", name: /^Dismiss .* provider (error|warning)$/)",
        "status": "passed"
      },
      {
        "step": "locator.scrollIntoView getByText(\"Pi history imported successfully.\")",
        "status": "passed"
      },
      {
        "step": "app.screenshot imported-Pi-transcript",
        "status": "passed"
      }
    ]
  },
  "baseStatus": "failed",
  "headStatus": "passed"
}
