10.10.0
Released Released on October 10, 2022
Features:
cy.origin()'s URL argument must be an exact origin match to the origin of the AUT. Addresses #23999, #23814, #24085, #22882, and #17166.More accurately send/set cookies in
cy.origin()whenexperimentalSessionAndOriginis enabled. Addresses #23551, #22670, and #23603.Cypress will no longer watch files when executing component tests in "run" mode. Addresses #22959.
Bugfixes:
Cypress is now able to connect to Firefox v105. Fixes #23897.
Cypress component tests now correctly load assets with Angular. Fixes #23797.
Imports in component testing support files are no longer tree-shaken by Webpack. Fixes #24117.
cy.session()commands will correctly fail when the setup function has a failing command or assertion. Fixes #21399.ngOnChangesis now called after mounting an Angular component in component testing. Fixes #23591.Code frames for Vite project stack traces now point to the correct lines of source code. Fixes #23919.
Uncaught exceptions are now only handled once in component testing. Fixes #23920.
Nuxt and Angular component tests now fail on uncaught exceptions. Fixes #24122.
Command log messages are once again being truncated to 50 lines. Fixes #23995.
Dependency Updates:
Upgraded Electron from v19 to v21. Addressed in #23843.