generate_steps_file
Create WDIO step definitions from Gherkin syntax to automate test scenarios, generating reusable functions for UI testing.
Instructions
Generate WDIO step definitions file with functions to execute Gherkin syntax
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scenario_title | Yes | Title of the test scenario | |
| gherkin_syntax | Yes | Gherkin syntax to generate steps for | |
| selectors | No | Selectors for UI elements | |
| existing_steps | No | List of existing step functions to reuse | |
| output_path | Yes | Path where the steps file should be saved |