{
  "case_id": "BPB2-03",
  "status": "Proposed self-test expectations, not an independent oracle",
  "runtime_note": "Native Chromium could not launch; equivalent DOM interactions were exercised with JSDOM. Ordinary-browser rendering remains unchecked.",
  "journeys": [
    {
      "id": "J1",
      "name": "Recover the original-resource plan",
      "steps": [
        {
          "action": "load",
          "selector": "index.html",
          "input": null,
          "expected_visible": "Recommended S + T; opening 15 Mar, P24 \u2192 Q27, margin3 days, \u00a324k + \u00a30k; all18 activities."
        },
        {
          "action": "click",
          "selector": "#show-original",
          "input": null,
          "expected_visible": "Opening 24 Mar; P29 \u2192 Q34; margin5 days; \u00a30k + \u00a314k; S0/C0/T assignments and no purchased crews."
        }
      ]
    },
    {
      "id": "J2",
      "name": "Compare cheapest and resilient on-time packages",
      "steps": [
        {
          "action": "click",
          "selector": "#show-cheapest",
          "input": null,
          "expected_visible": "S alone; opening15 Mar, P27 \u2192 Q27, zero margin and \u00a318k acceleration."
        },
        {
          "action": "check",
          "selector": "#offer-T",
          "input": true,
          "expected_visible": "S + T; opening remains15 Mar, P24 \u2192 Q27, margin3 days, \u00a324k acceleration; L16\u201318 and P22\u201324."
        }
      ]
    },
    {
      "id": "J3",
      "name": "Calendar violation, restore, then acceptance-slot slip",
      "steps": [
        {
          "action": "click",
          "selector": "#show-recommended",
          "input": null,
          "expected_visible": "Recommended S + T restored."
        },
        {
          "action": "select",
          "selector": "#edit-activity",
          "input": "P",
          "expected_visible": "P editor shows start22, C0 + T."
        },
        {
          "action": "fill",
          "selector": "#edit-start",
          "input": "24",
          "expected_visible": "Proposed start24 entered; plan changes only after Test move."
        },
        {
          "action": "click",
          "selector": "#test-move",
          "input": null,
          "expected_visible": "Infeasible trial; C0 unavailable day24; opening Not established."
        },
        {
          "action": "click",
          "selector": "#restore-plan",
          "input": null,
          "expected_visible": "Valid P22\u201324, opening15 Mar."
        },
        {
          "action": "fill",
          "selector": "#edit-start",
          "input": "26",
          "expected_visible": "Proposed start26 entered."
        },
        {
          "action": "click",
          "selector": "#test-move",
          "input": null,
          "expected_visible": "Feasible manual trial; P28 \u2192 Q34; opening24 Mar; margin6 days; \u00a324k + \u00a314k."
        }
      ]
    },
    {
      "id": "J4",
      "name": "Prevent unpurchased crew substitution",
      "steps": [
        {
          "action": "click",
          "selector": "#show-original",
          "input": null,
          "expected_visible": "Original-resource plan."
        },
        {
          "action": "select",
          "selector": "#edit-activity",
          "input": "E",
          "expected_visible": "E on S0; S1 option clearly labelled not purchased."
        },
        {
          "action": "select",
          "selector": "#edit-resource",
          "input": "S1",
          "expected_visible": "Hypothetical S1 assignment selected."
        },
        {
          "action": "click",
          "selector": "#test-move",
          "input": null,
          "expected_visible": "Opening Not established; S1 is not a permitted purchased assignment and unavailable occupied days reported."
        }
      ]
    },
    {
      "id": "J5",
      "name": "Offer combination interaction",
      "steps": [
        {
          "action": "click",
          "selector": "#show-original",
          "input": null,
          "expected_visible": "Opening24 Mar."
        },
        {
          "action": "check",
          "selector": "#offer-X",
          "input": true,
          "expected_visible": "X alone \u00a37k; opening remains24 Mar."
        },
        {
          "action": "check",
          "selector": "#offer-C",
          "input": true,
          "expected_visible": "X + C \u00a319k; opening15 Mar; zero margin; G9\u201312 on S0 and J14\u201318 on C1."
        },
        {
          "action": "uncheck",
          "selector": "#offer-X",
          "input": false,
          "expected_visible": "C alone \u00a312k; opening reverts to24 Mar, with newly calculated schedule."
        }
      ]
    },
    {
      "id": "J6",
      "name": "Authority, reset and source recovery",
      "steps": [
        {
          "action": "click",
          "selector": "#show-recommended",
          "input": null,
          "expected_visible": "S + T sponsor-level proposal \u00a324k."
        },
        {
          "action": "check",
          "selector": "#offer-X",
          "input": true,
          "expected_visible": "X + S + T \u00a331k; Board approval required."
        },
        {
          "action": "click",
          "selector": "#reset-page",
          "input": null,
          "expected_visible": "S + T \u00a324k, opening15 Mar, margin3; editor reset to P22, manual trial cleared."
        },
        {
          "action": "reload",
          "selector": "index.html",
          "input": null,
          "expected_visible": "Same initial recommended plan; original evidence M1\u2013M8 remains recoverable, including M7 no-cost draft."
        },
        {
          "action": "inspect",
          "selector": "nav a:first-child",
          "input": null,
          "expected_visible": "Return to gallery points to ../index.html."
        }
      ]
    }
  ]
}
