run_scenario
Drive device behavior through scripted scenarios by emitting data frames and asserting control states.
Instructions
Drive the device through a scripted scenario and assert control states — UI testing over the mesh, no XCUITest.
Each step: {"emit": {...frame...}, "event": "broadcast", "wait": 0.5,
"expect": {"control_id": expected_value, ...}}.
emit pushes a data frame; after wait seconds the named controls are read back
and compared to expect.
Args: steps_json: JSON array of step objects.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| steps_json | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |