Skip to main content

POM Autohealing Updates

During test execution, the plugin automatically corrects any changed selectors. Depending on how the test runs, the plugin outputs results to the Cypress UI or the terminal in CI or command line environments.

If the plugin corrects a test, it generates a temporary text file containing the updated test code with the corrected selector. Copy and paste the contents from this file into the corresponding Cypress test file and save it. You can delete the temporary file afterward.

Below is an example of such a text file with a timestamp indicating auto-healing: