Files
cypress/npm/react/README.md
AtofStryker b383b4fb9a breaking: release version 9.0.0 of @cypress/react.
BREAKING CHANGE: Cypress 14 drops support for React 16-17. React 18 and up is supported.
2025-01-07 17:06:41 -05:00

798 B

@cypress/react

Mount React components in the open source Cypress.io test runner

Note: This package is bundled with the cypress package and should not need to be installed separately. See the React Component Testing Docs for mounting React components. Installing and importing mount from @cypress/react should only be done for advanced use-cases.

Requirements

  • React 18.0.0+ (Cypress 13 and under supports React 16 and 17)

Development

Run yarn build to compile and sync packages to the cypress cli package.

Run yarn cy:open to open Cypress component testing against real-world examples.

Run yarn test to execute headless Cypress tests.

Changelog