Documentation Index
Fetch the complete documentation index at: https://trydent.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Overview
This section of the documentation provides an overview of the utility functions used in the extension. These functions are mainly responsible for generating the Cypress test code based on the user interactions recorded by the extension.Event Listeners
switchCase
TheswitchCase function takes an event object and generates a piece of Cypress test code for the action performed in the event. It supports the following actions: click, change (input), and navigate (click on a link).
describeCreator
ThedescribeCreator function takes a describe object and generates a complete Cypress test suite. The describe object contains the test URL, description, write-up, and an array of it statement objects.
itCreator
TheitCreator function takes an array of it statement objects and a URL, and generates a string of it statements. Each it statement object contains an it statement and an array of event objects.
actionCreator
TheactionCreator function takes an it statement object and a URL, and generates a string of actions for the it statement. The it statement object contains an it statement and an array of event objects.

