10.11.0
Released Released on October 24, 2022
Features:
cy.session()is now supported when using WebKit (Experimental) andexperimentalSessionAndOriginis enabled. Addresses #24116, #23832.Improves user experience when connecting a project to the Dashboard. Addresses #23379, #23766, #23767.
Users will be prompted to connect a project to the Dashboard when logging in from the Cypress Launchpad after a testing type has been selected.
Users will be prompted to record runs to the Dashboard from both the Cypress App and Cypress Launchpad if a project is connected to the Dashboard and has no recorded runs.
Bugfixes:
When a chromium based browser tab or process crashes, Cypress will no longer hang indefinitely but will fail the current test and move on to the next. #6170.
Fixed as issue where browser-skipped tests were incorrectly recorded to the Dashboard which resulted in the Dashboard marking the test as "new" or "modified" when it already existed. Fixes #23517.
Fixed issue connecting to the cloud when a self-signed cert was in the cert chain. Fixes #24298.
cy.origin()now supports more than 30 unique origin spec bridges per test. Fixes #22874, #23967.Fixed an issue where
document.cookiewould not reflect the correct value in cross-origin tests. Fixes #23531.Cypress will now restart on changes to the
blockHostsconfiguration entry. Fixes #22634.When shown the command to record runs to the cloud, the user can select and copy parts of the command (like the record key), instead of only being able to use the "Copy" button to copy the entire command. Fixes #22091.
Cleaned up inconsistencies in the UI between sentence case and title case. Fixes #21854.
Fixed an issue where there is a visible "Project ID" section (with no
projectId) when user has not connected to the Dashboard. #21806.
Experimental Breaking Changes:
cy.origin()now supports usingrequire()and dynamicimport()to include dependencies.Cypress.require()has been removed. Addresses #24293.The way that Cypress handles test isolation has changed. The previous modes of
legacyandstricthave been replaced withonandoff. Fixes #24206.The default mode is
onwhenexperimentalSessionAndOriginis enabled.The cy.session() command now inherits the test isolation behavior for the suite it runs in.