10.4.0
Released Released on August 1, 2022
Features:
Cypress Component testing now supports React 18 via the cypress/react18 package. Addresses #21381 & #21946.
Cypress Component testing now supports Vite 3. Addresses #22784.
Cypress introduces a new experimental flag, called
experimentalModifyObstructiveThirdPartyCode. When enabled,experimentalModifyObstructiveThirdPartyCodewill turn on additionalmodifyObstructiveCodeoptions to prevent frame busting, as well as striping integrity tags out of<link>and<script>elements and remove the electron user agent. In the current state of this experimental flag, SRI is not supported. Addresses #21476, #21307, #22953, & #21474.Cypress will now display a banner with a corrective action when your project uses a projectId that cannot be found in the Cypress Dashboard and when you do not have access to the current project in the Cypress Dashboard. Addresses #22637.
Bugfixes:
Fixes issue where cookies were not handled within cy.origin for requests other than the AUT page request. Fixes #22952 & #21474.
Tooltips are now correctly displayed behind modals. Fixes #22595.
Fixed a hang when sending video to the dashboard from the electron browser. Fixes #17627.
Cypress will now throw an error when we receive an unexpected return value from a custom config file. Fixes #21948.
Cypress will now warn when detecting unsupported dependencies for component testing. Fixes #22025.
cy.type() can now be used to enter datetime values with seconds, to an input of type datetime-local, for example 1959-09-13T10:12:13. Fixes #22884.
Next.js in Cypress is now allowed to import global styles. Fixes #22525
Fixed an issue where 'additionalIgnorePattern' was not allowed to be an array of strings. #22551.
Prevented timer size from changing while counting up. Fixes #22846.
Added icons to help indicate that column headers provide more information on hover. Fixes #22638.
Fixed an issue where long "run urls" are cut off in the console. Fixes #22619.
Dependency Updates: