Skip to content

run_e2e_test

Run an E2E test scenario in Play Mode. Executes a sequence of steps: input simulation, assertions, waits, and screenshots.

Category: Test

Name Type Required Default Description
name string yes Test name for reporting
steps array yes Ordered list of test steps
auto_enter_playmode boolean true Automatically enter Play Mode before test (default: true)
auto_exit_playmode boolean true Automatically exit Play Mode after test (default: true)
screenshot_on_failure boolean true Automatically capture screenshot on test failure (default: true)
timeout number 60 Overall test timeout in seconds (default: 60)

The arguments below are the required ones; add the optional ones you need.

{
"name": "run_e2e_test",
"arguments": {
"name": "…",
"steps": []
}
}

When Unity runs with NANORA_MCP_SUPERSAVE=1, call it through the execute meta tool: {"tool": "run_e2e_test", "args": { … }}. See SuperSave mode.

Generated from Assets/NanoraUnityMCP/Editor/Tools/Testing/RunE2eTestTool.cs (version 1.2.1). The client receives the same schema from tools/list.