{
  "suite": {
    "name": "Authored regression evidence \u2014 persisted product price",
    "description": "Owned loopback fixture only. Human-authored save, independent navigation, reopen, reload, and price invariant. Not AI-generated coverage."
  },
  "cases": [
    {
      "name": "Saved product retains price after navigation and reload",
      "priority": "high",
      "tags": [
        "benchmark",
        "authored",
        "required_state:logged_in"
      ],
      "steps": [
        {
          "action": "click",
          "target": "a[href=\"/products\"]",
          "value": "",
          "description": "Sign in using runner-local credentials if redirected, then open products"
        },
        {
          "action": "click",
          "target": "a[href=\"/products/new\"]",
          "value": "",
          "description": ""
        },
        {
          "action": "fill",
          "target": "input[name=\"name\"]",
          "value": "Benchmark Product",
          "description": ""
        },
        {
          "action": "fill",
          "target": "input[name=\"sku\"]",
          "value": "BENCH-001",
          "description": ""
        },
        {
          "action": "fill",
          "target": "input[name=\"price\"]",
          "value": "29.95",
          "description": ""
        },
        {
          "action": "click",
          "target": "button[type=\"submit\"]",
          "value": "",
          "description": "Save product"
        },
        {
          "action": "click",
          "target": "a[href=\"/products\"]",
          "value": "",
          "description": "Independently revisit listing"
        },
        {
          "action": "click",
          "target": "tbody tr:has-text(\"BENCH-001\") a:has-text(\"Edit\")",
          "value": "",
          "description": ""
        },
        {
          "action": "reload",
          "target": "",
          "value": "",
          "description": "Reload edit page to discard in-memory state"
        },
        {
          "action": "screenshot",
          "target": "",
          "value": "",
          "description": "Capture persisted price before assertion"
        }
      ],
      "assertions": [
        {
          "type": "count",
          "target": "tbody tr:has-text(\"BENCH-001\")",
          "expected": 1,
          "afterStep": 7,
          "message": "One saved benchmark product"
        },
        {
          "type": "value_equals",
          "target": "input[name=\"price\"]",
          "expected": "29.95",
          "message": "persisted price"
        }
      ]
    }
  ]
}
