Skip to main content

Autohealing Updates

When running tests, the TestGenAI plugin will automatically heal any changed selectors. Depending on how the test is executed, the plugin will print output to either the Cypress Test Runner UI or to the terminal if running in CI or command line.

If the plugin has healed a test, it will create a new temporary text file containing the test code with the updated selector. Copy and paste the contents from this text file into the corresponding Cypress test file and save it. You can remove the temporary file after you have copied the content.

Below is an example of the text file with a timestamp created from autohealing.