generated from remarkablemark/npm-package-typescript-template
-
-
Notifications
You must be signed in to change notification settings - Fork 0
How Does It Work?
Mark edited this page Jun 25, 2025
·
1 revision
- A prompt is created from your:
- task,
- HTML body, and
- template.
- The prompt is sent to the LLM server.
- The LLM server responds with Cypress code.
- The Cypress code is cleaned and run.
- If the steps pass, the code is saved to
cypress/e2e/**/__generated__/*.json. - If the steps fail, an error is thrown and the LLM response can be inspected in the browser Console.
When running tests, if the generated Cypress code exists, the command will reuse the existing code.
To regenerate a step, enable the regenerate option or delete the generated code in cypress/e2e/**/__generated__/*.json.
Warning
If you have tests with duplicate/identical titles (describe and it), it could cause the generated tests to fail.