Files
cypress/cli/types
Tim Griesser 8f8bb60878 fix: Update cy.press signature to be Chainable (#31698)
* Update cy.press signature to be Chainable

Since it's added via `Commands.add`, I believe `cy.press` should have a return type of `Chainable<null>` rather than `void`

* Update first_spec.cy.js

Updated test for chainable

* use addAll rather than add to avoid type check

* fix unit test

* Add cli entry

* update changelog

---------

Co-authored-by: Jennifer Shehane <shehane.jennifer@gmail.com>
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
2025-05-14 09:52:28 -04:00
..
2025-04-08 09:23:18 -04:00