ue5_verify_scenario
Runs scripted acceptance scenarios in Unreal PIE with wait, assert, screenshot, log, and command steps; automatically starts/stops PIE, enforces a timeout, and emits a JUnit report for CI.
Instructions
Run a scripted acceptance scenario in PIE and emit a JUnit report: wait / assert property / screenshot / log_contains / command steps, with automatic PIE start/stop and a total timeout. Destructive commands are rejected unless allow_destructive=true. Returns verified + per-step evidence + junit_path (CI-consumable). | 场景化验收:PIE 内逐步等待/断言/截图/日志/命令,自动起停 PIE,总超时保护;高危命令默认拒绝。verified 是唯一判据。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Scenario name | 场景名 | |
| steps | Yes | Step list: wait/assert/screenshot/log_contains/command/pie_start/pie_stop | 步骤数组 | |
| pie_mode | No | simulate (default on 5.1) | pie | |
| stop_pie | No | Stop PIE at the end (default true) | |
| start_pie | No | Start PIE automatically (default true) | |
| timeout_s | No | Total scenario timeout seconds (default 300, cap 1800) | 场景总超时 | |
| junit_path | No | Optional JUnit XML output path | |
| stop_on_failure | No | Stop at first failing step (default true) | |
| allow_destructive | No | Allow destructive command steps (default false) | 放行高危命令 |