Bench configs define command and console serial paths; scenarios can reset nodes via esptool before tests. Smoke resets all nodes then waits for ESP-NOW join. Co-authored-by: Cursor <cursoragent@cursor.com>
60 lines
1.1 KiB
JSON
60 lines
1.1 KiB
JSON
{
|
|
"id": "smoke",
|
|
"description": "Cold-start smoke: reset all nodes, wait for join, then UART checks",
|
|
"config": "example-lab",
|
|
"steps": [
|
|
{
|
|
"name": "reset all nodes",
|
|
"command": "reset",
|
|
"input": {
|
|
"all": true,
|
|
"wait_ms": 2500
|
|
}
|
|
},
|
|
{
|
|
"name": "boot and ESP-NOW join",
|
|
"delay_ms": 10000
|
|
},
|
|
{
|
|
"name": "master UART up",
|
|
"command": "version",
|
|
"expect": {
|
|
"version_min": 1
|
|
}
|
|
},
|
|
{
|
|
"name": "slave registered",
|
|
"command": "clients",
|
|
"expect": {
|
|
"min_clients": 1,
|
|
"slave": "pod-1",
|
|
"available": true
|
|
}
|
|
},
|
|
{
|
|
"name": "unicast path",
|
|
"command": "unicast_test",
|
|
"input": {
|
|
"slave": "pod-1",
|
|
"seq": 42
|
|
},
|
|
"expect": {
|
|
"success": true,
|
|
"seq": 42
|
|
}
|
|
},
|
|
{
|
|
"name": "read local deadzone",
|
|
"command": "deadzone",
|
|
"input": {
|
|
"write": false,
|
|
"client": 0
|
|
},
|
|
"expect": {
|
|
"success": true,
|
|
"deadzone": 100
|
|
}
|
|
}
|
|
]
|
|
}
|