Revyl allows you to export and modify your tests programmatically using YAML configuration files. While creating new tests from scratch using YAML is not yet supported (coming soon!), you can export existing tests, modify them, and update them through our API endpoints.
Create a new test from a provided YAML file. The input YAML should contain the test configuration without any id fields. This endpoint will generate UUID v4 for the test and for each task, insert the test into the database, and return the updated YAML content with generated id fields.Example Input YAML:
Copy
Ask AI
name: Chris' Test Caseplatform: Weblink: https://anamhira.ca/tasks: - step_type: tap step: Click Me - step_type: tap step: Type here...
Example Output YAML:
Copy
Ask AI
id: 5910ce02-eace-40c8-8779-a8619681f2acname: Chris' Test Caseplatform: Weblink: https://anamhira.ca/tasks: - id: 991044be-5ecf-4d4d-aff9-645194f5e1b0 step_type: tap step: Click Me - id: 9f57bc59-fcb3-466f-89a0-7713f4accdd5 step_type: tap step: Type here...