Skip to content

How Does It Work?

Mark edited this page Jun 25, 2025 · 1 revision
  1. A prompt is created from your:
    • task,
    • HTML body, and
    • template.
  2. The prompt is sent to the LLM server.
  3. The LLM server responds with Cypress code.
  4. The Cypress code is cleaned and run.
  5. If the steps pass, the code is saved to cypress/e2e/**/__generated__/*.json.
  6. 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.

Clone this wiki locally