generate_component_file
Creates a component file with specified data items and saves it to a designated path, enabling efficient test scenario management in WDIO test suites.
Instructions
Generate component file with collection of data items (only if needed)
Input Schema
Name | Required | Description | Default |
---|---|---|---|
data_items | Yes | Collection of data items for the component | |
output_path | Yes | Path where the component file should be saved | |
scenario_title | Yes | Title of the test scenario |
Input Schema (JSON Schema)
{
"additionalProperties": false,
"properties": {
"data_items": {
"description": "Collection of data items for the component",
"type": "object"
},
"output_path": {
"description": "Path where the component file should be saved",
"minLength": 1,
"type": "string"
},
"scenario_title": {
"description": "Title of the test scenario",
"minLength": 1,
"type": "string"
}
},
"required": [
"scenario_title",
"data_items",
"output_path"
],
"type": "object"
}