Files
DroidDeck/tools/scenarios/steam-game-focus.json
T
Kurt Himebauch 415b93f943 feat: agent bridge wayland and gamescope coverage (#406)
* 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
2026-10-08 03:50:58 +00:00

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"
]
]
}