process_test_scenario
Generate complete WDIO test files from Gherkin scenarios and UI selectors for automated testing workflows.
Instructions
Process a test scenario provided directly by the user and generate complete WDIO test files
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scenario_title | Yes | Title of the test scenario | |
| tags | No | Test ID tags for the scenario (e.g., ["@login", "@smoke", "@TEST-001"]) | |
| gherkin_syntax | Yes | Complete Gherkin syntax with Given/When/Then steps | |
| selectors | Yes | UI element selectors as key-value pairs (e.g., {"usernameInput": "#username", "loginButton": "[data-testid=login-btn]"}) | |
| data_items | No | Test data items and configurations (optional) | |
| output_directory | Yes | Base directory where all generated files should be saved | |
| repo_path | No | Path to existing repository for pattern analysis (optional) |