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
idunknownNo
intentunknownNoM7 one-line goal. When set, emitted as # intent: <intent> header line.
tagsunknownNoM7 filterable tags. When set, emitted as # tags: [a, b, c].
mutatesunknownNoM7 side-effect flag. When set, emitted as `# mutates: true
statusunknownNoM7 lifecycle status. When set, emitted as # status: <status>.
cdp_record_test_generate(format: <enum: maestro | detox | appium>)