mirror of
https://github.com/Droid-Deck/DroidDeck.git
synced 2026-11-19 21:06:09 +00:00
* feat: run a guest agent in every session for commands, focus and the Steam client's DevTools * feat: give the agent bridge game, input, UI and experiment commands behind a Setup toggle * feat: droiddeckctl commands for the new bridge, a scenario runner and contract tests * feat: run cleanup steps after every scenario run so a failure cannot leak into the next * feat: restart a session that died between scenario runs with start --reuse * fix: give droiddeckctl stop its own, longer wait for the session's logs * fix: harden debugging tools access and output
71 lines
900 B
JSON
71 lines
900 B
JSON
{
|
|
"name": "steam-game-focus",
|
|
"vars": {
|
|
"appId": 489830
|
|
},
|
|
"repeat": 6,
|
|
"setup": [
|
|
[
|
|
"wake"
|
|
]
|
|
],
|
|
"before": [
|
|
[
|
|
"start",
|
|
"steam",
|
|
"--wait",
|
|
"--reuse",
|
|
"--timeout",
|
|
"240"
|
|
]
|
|
],
|
|
"steps": [
|
|
[
|
|
"launch",
|
|
"${appId}",
|
|
"--wait",
|
|
"--timeout",
|
|
"240"
|
|
],
|
|
{
|
|
"assert": "focus.focusedApp",
|
|
"equals": "${appId}"
|
|
},
|
|
{
|
|
"assert": "focus.focusableApps",
|
|
"contains": "${appId}"
|
|
},
|
|
{
|
|
"screenshot": "focused"
|
|
},
|
|
[
|
|
"quit",
|
|
"${appId}",
|
|
"--timeout",
|
|
"20"
|
|
],
|
|
{
|
|
"assert": "remaining",
|
|
"equals": []
|
|
},
|
|
{
|
|
"sleep": 5
|
|
}
|
|
],
|
|
"after": [
|
|
[
|
|
"quit",
|
|
"${appId}",
|
|
"--timeout",
|
|
"20"
|
|
]
|
|
],
|
|
"teardown": [
|
|
[
|
|
"stop",
|
|
"--timeout",
|
|
"120"
|
|
]
|
|
]
|
|
}
|