[
  {
    "actions": [
      {
        "action": "navigate",
        "type": "navigate",
        "url": "{base_url}/"
      },
      {
        "action": "wait_for",
        "selector": "a[href=\"/purchase-orders\"]",
        "timeout_ms": 30000,
        "type": "wait_for_selector"
      },
      {
        "action": "click",
        "selector": "a[href=\"/purchase-orders\"]",
        "type": "click"
      },
      {
        "action": "wait_for",
        "selector": "input[placeholder=\"Search PO, supplier or project...\"]",
        "timeout_ms": 30000,
        "type": "wait_for_selector"
      },
      {
        "action": "assert_selector",
        "selector": "[data-testid=\"po-toolbar-row\"]",
        "type": "assert_selector"
      },
      {
        "action": "click",
        "selector": "[data-testid=\"purchase-orders-assemblies-button\"]",
        "type": "click"
      },
      {
        "action": "wait_for",
        "selector": "input[placeholder=\"Search assemblies...\"]",
        "timeout_ms": 15000,
        "type": "wait_for_selector"
      },
      {
        "action": "assert_selector",
        "selector": "[data-testid=\"po-toolbar-row\"]",
        "type": "assert_selector"
      },
      {
        "action": "click",
        "selector": "[data-testid=\"purchase-orders-orders-button\"]",
        "type": "click"
      },
      {
        "action": "wait_for",
        "selector": "input[placeholder=\"Search PO, supplier or project...\"]",
        "timeout_ms": 15000,
        "type": "wait_for_selector"
      },
      {
        "action": "assert_selector",
        "selector": "[data-testid=\"po-toolbar-row\"]",
        "type": "assert_selector"
      },
      {
        "action": "assert_selector",
        "selector": "[data-testid=\"po-toolbar-actions-right\"]",
        "type": "assert_selector"
      },
      {
        "text": "Purchase Orders",
        "type": "assert_text"
      },
      {
        "text": "View Cancelled",
        "type": "assert_text"
      }
    ],
    "capture_each_step": true,
    "expected_result": "The Purchase Orders toolbar renders without visual overlap of the action buttons and keeps a consistent height when switching between Orders and Assemblies. data-testid=\"po-toolbar-row\" is NEW in this repair pass \u2014 added to the outer toolbar container (the same div that received the min-h-[88px] / xl:items-start fix). It does NOT exist on origin/main NOR on any prior repair-pass commit (a8b0e5cc5, ce468da81, 3906ba202, c0c09be67), so any pre-fix dev deployment fails the assert_selector on this testid \u2192 baseline=False \u2192 red\u2192green confirmed. The check switches Orders\u2192Assemblies\u2192Orders and re-asserts the same row testid on each tab, proving the row container is rendered consistently (bug #2 fix) AND the right-side actions container is present (bug #1 fix).",
    "human_journey": true,
    "name": "po-toolbar-no-overlap-and-consistent-height-2026-06-16",
    "path": "/purchase-orders",
    "selectors": [],
    "source": "proof_contract",
    "start_path": "/",
    "texts": []
  }
]