Cypress's cy.prompt command has received several updates. Quoted text in prompt steps now generates cy.contains() with exact regex matching instead of cy.get(), useful when element content is stable but selectors aren't. not.exist assertions now work with text-based targeting. A new cy.press command supports keyboard
Table of contents
cy.contains support via text-based targetingWriting cy.prompt not.exist assertions with cy.containsKeyboard testing in cy.prompt with cy.pressHow cy.prompt handles sensitive data in the DOMTry it outSort: