[
  {
    "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": "wait_for",
        "selector": "[data-testid=\"purchase-orders-view-cancelled-purchase-orders-button\"]",
        "timeout_ms": 15000,
        "type": "wait_for_selector"
      },
      {
        "action": "wait_for",
        "selector": "[data-testid=\"purchase-orders-send-purchase-orders-to-suppliers-button\"]",
        "timeout_ms": 15000,
        "type": "wait_for_selector"
      },
      {
        "action": "wait_for",
        "selector": "[data-testid=\"purchase-orders-new-purchase-order-button\"]",
        "timeout_ms": 15000,
        "type": "wait_for_selector"
      },
      {
        "action": "wait_for",
        "selector": "[data-testid=\"purchase-orders-status-filter-default-filter-select\"]",
        "timeout_ms": 15000,
        "type": "wait_for_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": "wait_for",
        "selector": "[data-testid=\"purchase-orders-new-assembly-button\"]",
        "timeout_ms": 15000,
        "type": "wait_for_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": "wait_for",
        "selector": "[data-testid=\"purchase-orders-view-cancelled-purchase-orders-button\"]",
        "timeout_ms": 15000,
        "type": "wait_for_selector"
      },
      {
        "action": "wait_for",
        "selector": "[data-testid=\"purchase-orders-status-filter-default-filter-select\"]",
        "timeout_ms": 15000,
        "type": "wait_for_selector"
      },
      {
        "text": "Purchase Orders",
        "type": "assert_text"
      },
      {
        "text": "View Cancelled",
        "type": "assert_text"
      },
      {
        "text": "Awaiting Delivery (incl. Partial)",
        "type": "assert_text"
      }
    ],
    "capture_each_step": true,
    "expected_result": "The Purchase Orders toolbar renders with no overlap between the right-side action buttons (View Cancelled, Email Centre, New PO) and the left-side status filter in the Orders view, and the toolbar height stays consistent when switching between the Orders and Assemblies tabs. Pre-fix, the three Orders action buttons overflowed with flex-nowrap and visually sat on top of the status-filter dropdown text, and the Orders view toolbar was visibly taller than the Assemblies view toolbar. The L2 check verifies the action buttons and status filter are all present in the DOM in both views and that the visible labels for both (\"View Cancelled\" and \"Awaiting Delivery (incl. Partial)\") are rendered.",
    "human_journey": true,
    "name": "po-toolbar-no-overlap-and-consistent-height-2026-06-16",
    "path": "/purchase-orders",
    "selectors": [],
    "source": "proof_contract",
    "start_path": "/",
    "texts": [
      "Purchase Orders"
    ]
  }
]