Home / Companies / Cypress / Blog / Post Details
Content Deep Dive

What’s new in cy.prompt for AI testing in Cypress

Blog post from Cypress

Post Details
Company
Date Published
Author
-
Word Count
705
Company Posts That Month
2
Language
English
Hacker News Points
-
Post removed?
No
Summary

Cypress has introduced updates and new features for cy.prompt, an AI-driven test authoring tool, based on insights gained from its initial release. The updates include support for non-existence assertions using explicit CSS selectors, allowing for more reliable testing by requiring clear targets rather than relying on natural language. Additionally, improvements in test authoring speed have been made by enabling command options such as timeout and force to be incorporated directly into prompt steps, reducing the need for additional code. Teams can also now control the priority of element selectors using Cypress.ElementSelector API, ensuring alignment with team conventions and improving predictability. Recent enhancements include self-healing indicators for transparency, support for testing scenarios involving scrolling elements into view, and an upcoming shift towards generating cy.contains() queries to improve test stability. These developments aim to integrate AI more effectively into testing workflows, providing teams with tools to create more maintainable test suites.

Trends Found in this Post

No tracked trend matches for this post yet.

Use This Data

Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.