Skip to content

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.

NameTypeRequiredDefaultConstraintsDescription
format`enum: maestrodetoxappium`Yes
testNamestringNoName shown in describe()/comment header
bundleIdstringNoApp bundle ID for the Maestro appId header
idstringNoM7 action id (stable slug). When set, emitted as # id: <slug> header line. Default: filename without .yaml.
intentstringNoM7 one-line goal. When set, emitted as # intent: <intent> header line.
tagsarrayNoM7 filterable tags. When set, emitted as # tags: [a, b, c].
mutatesbooleanNoM7 side-effect flag. When set, emitted as `# mutates: true
status`enum: experimentalactivedeprecated`No
cdp_record_test_generate(format: <enum: maestro | detox | appium>)