e2e-finish-recording
Finalize an active e2e test recording for a named test and project root, save the YAML, and return a step summary with warnings; fails if no recording is in progress.
Instructions
Finish recording the e2e test named by name + project_root, leaving recordings under any other key untouched. Returns { message, path, executionPrerequisite, steps, summary, e2eTestFile, savedTo } - a summary of all recorded steps plus the final YAML. Use when you have added all desired steps and want to finalize the e2e test file. Fails if that e2e test has no recording in progress.
A warning e2e-add-step raised on a recorded await-ui-element is repeated in summary as a warning: line right below its step, and message counts them by kind. Read them before you convert a wait to await:/assert: or replay the e2e test.
You can still edit the .yaml file directly afterwards to remove or reorder steps.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"name": "<name>",
"project_root": "<project_root>"
},
"name": "e2e-finish-recording"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Name of the e2e test being recorded: the one passed to e2e-start-recording. | |
| project_root | Yes | Absolute path to the project root of the e2e test being recorded: the same value passed to e2e-start-recording. |