generate_feature_file
Create WDIO feature files with Gherkin syntax for test automation scenarios, specifying scenario titles, steps, tags, and output paths.
Instructions
Generate WDIO feature file with Gherkin syntax (Given, When, Then)
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": {
"scenario_title": "<scenario_title>",
"gherkin_syntax": "<gherkin_syntax>",
"output_path": "<output_path>"
},
"name": "generate_feature_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scenario_title | Yes | Title of the test scenario | |
| gherkin_syntax | Yes | Gherkin syntax content for the feature | |
| tags | No | Test ID tags for the scenario | |
| output_path | Yes | Path where the feature file should be saved |