Stop and Compile Test
stop_and_compile_testStop the active recording and synthesize a Maestro YAML test script that captures UI interactions, network payloads, and analytics assertions.
Instructions
Stop the active recording session and synthesize a Maestro YAML test script. Correlates captured UI interactions with network payloads and embeds JavaScript assertions for analytics events.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sessionId | Yes | The session ID returned by start_recording_session | |
| conditions | No | Optional natural-language assertions to include, e.g. "verify analytics event: page_view" | |
| outputPath | No | Absolute path where the generated .yaml file should be written | |
| mockingConfig | No | Network mocking configuration for WireMock stub generation |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| yaml | Yes | The generated Maestro YAML test script content | |
| stubsDir | No | WireMock stubs root directory containing mappings/ and __files/ subdirectories | |
| yamlPath | Yes | File path where the YAML was written | |
| sessionId | Yes | The session that was compiled | |
| fixturesDir | No | Directory containing WireMock response fixtures | |
| manifestPath | No | Path to the session manifest JSON | |
| timelinePath | No | Path to the session timeline JSON file for post-hoc debugging | |
| flowExecutions | No | Phase 5: per-flow summary for run_test / run_flow executions captured mid-session. The full step stream lives in the timeline.json file. | |
| matchedSegments | No | Existing registered segments that match this recording | |
| pollingDiagnostics | No | Health diagnostics from the passive capture polling loop | |
| segmentFingerprint | No | SHA-256 fingerprint of the action+endpoint sequence for deduplication |