cdp_record_test_generate
Render the stored recording as replayable test code. Formats: maestro (YAML, primary), detox (JS). Appium returns NOT_IMPLEMENTED — file an issue if you need it. Requires a recording in memory (call start/stop or load first). Pass id/intent/tags/mutates/status to emit the M7 metadata header (D1203) into the YAML so the result is a first-class reusable action.
Parameters
Section titled “Parameters”| Name | Type | Required | Default | Constraints | Description |
|---|---|---|---|---|---|
format | `enum: maestro | detox | appium` | Yes | |
testName | string | No | Name shown in describe()/comment header | ||
bundleId | string | No | App bundle ID for the Maestro appId header | ||
id | string | No | M7 action id (stable slug). When set, emitted as # id: <slug> header line. Default: filename without .yaml. | ||
intent | string | No | M7 one-line goal. When set, emitted as # intent: <intent> header line. | ||
tags | array | No | M7 filterable tags. When set, emitted as # tags: [a, b, c]. | ||
mutates | boolean | No | M7 side-effect flag. When set, emitted as `# mutates: true | ||
status | `enum: experimental | active | deprecated` | No |
cdp_record_test_generate(format: <enum: maestro | detox | appium>)