feat: add final verification screen capture and update response structure
All checks were successful
CI / test (push) Successful in 6s

This commit is contained in:
Space-Banane
2026-05-27 21:14:20 +02:00
parent 375c1073ec
commit 278f011a6d
8 changed files with 52 additions and 9 deletions

View File

@@ -35,6 +35,7 @@ def test_cli_emits_structured_return_and_data(monkeypatch: Any, capsys, tmp_path
result="Done",
return_message="Task completed successfully",
data="file1.txt\nfile2.txt",
verification={"ok": True, "path": "C:/tmp/final.png"},
steps=3,
started_at=10.0,
ended_at=12.5,
@@ -66,3 +67,4 @@ def test_cli_emits_structured_return_and_data(monkeypatch: Any, capsys, tmp_path
assert payload["response"]["data"] == "file1.txt\nfile2.txt"
assert payload["return"] == "Task completed successfully"
assert payload["data"] == "file1.txt\nfile2.txt"
assert payload["verification"] == {"ok": True, "path": "C:/tmp/final.png"}