Cypress has updated cy.prompt, their AI-driven test authoring feature, based on real-world usage patterns. New capabilities include asserting non-existence with explicit CSS selectors, passing command options like timeout and force directly in prompts, and controlling selector priority through the Cypress.ElementSelector API.

4m read timeFrom cypress.io
Post cover image
Table of contents
Asserting on non existence in prompt stepsFaster authoring with command optionsControlling selector priority with Cypress.ElementSelectorIn case you missed it: self healing with visibilityIn case you missed it: testing scroll into viewWhat’s coming next

Sort: