Generate executable test scripts
generate_test_scriptsConvert test cases from a completed test generation job into executable automation scripts for Playwright, Cypress, Selenium, or Puppeteer. Requires the job ID from a prior test generation run.
Instructions
Convert test cases from a completed test generation job into executable test scripts. Requires a source_job_id from a prior generate_missing_coverage or convert_bug_to_tests call. Generates scripts for Playwright, Cypress, Selenium, or Puppeteer. Use this as the second step after generating test cases to get runnable automation code.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| framework | No | Target test framework. 'all' generates for all frameworks. Defaults to playwright. | |
| app_domain | No | Application domain for context (e.g., 'E-Commerce'). | |
| source_job_id | Yes | Job ID from a completed test generation run (from generate_missing_coverage output). | |
| test_case_ids | No | Specific test case IDs to convert. If omitted, converts all test cases from the source job. |