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