12.1.0

Released Released on December 11, 2022

Features:

  • Added cy.getAllCookies() and cy.clearAllCookies(), which get and clear cookies for all browser cookies across any domains. Addresses #24265, #8956, and #408.

  • Updated the error messaging to provide more context when parallel group parameters are mismatched when sent to the Cypress Cloud. Fixes #24734.

Bugfixes:

  • Fixed an issue with the cy.session command where it now recollects the session data after validation is successful to correctly store the full browser context before the command ends. Addressed with #25112.

  • Fixed an issue where recent versions of Firefox in headless mode would behave inconsistently with headed. Fixes #24900.

  • Fixed an issue where .select(index) would fail when multiple <option> elements have the same value property. Fixes #24739.

  • Cleaned up temp files generated by cypress run. Addressed by #24957

  • The Chrome web security configuration tooltip will now be shown only if chromeWebSecurity is set to false when using a non-chromium browser. Fixes #23846.

  • Fixed an issue where updating a component would not trigger the supportFile to reload imported stylesheets. This is fixed by doing a full reload for Vite, to ensure the spec re-runs correctly with the latest styles. Fixes #24874.

  • The Run All Specs experiment will now open in a new tab rather than close and reopen the browser. This will make the run faster and help mitigate #21743. Fixes #24919.