Hasty Briefsbeta

Write Cypress Tests in Natural Language with Cy.prompt()

10 days ago
  • #AI-assisted testing
  • #Test automation
  • #Cypress
  • cy.prompt() is now available as an experimental feature in Cypress, announced at CypressConf 2025.
  • It allows writing tests in natural language, translating descriptions into Cypress commands for fast and reliable test creation.
  • Unlike other AI testing tools, cy.prompt() is built directly into Cypress, requiring no external tools or lengthy configuration.
  • The feature lowers the barrier to test automation, enabling non-technical team members to contribute to test writing.
  • cy.prompt() provides full visibility into test execution, with the ability to inspect and edit generated test steps.
  • It introduces self-healing capabilities, making tests more resilient to UI changes and reducing maintenance.
  • The tool is designed to enhance collaboration between AI and testers, improving test reliability and adaptability.
  • cy.prompt() is free to use during its experimental phase, requiring only a Cypress Cloud account.
  • Future developments include Studio AI, with early access sign-ups available.