9.5.4
Released Released on April 10, 2022
Bugfixes:
Updates were made to silence Electron warnings related to being unable to connect to dbus. These errors are normal and expected, and do not result in test failures. Because they are always present when running Electron inside Docker containers, it has incorrectly led people to believe it is the root-cause of an error within their test run. By silencing these errors, it will improve the debug experience to allow users to focus on meaningful warning and error messages. Fixed #19299.
Updates were made to ensure that all
*.enableevents are sent if Cypress becomes disconnected from the Chrome DevTools Protocol and must re-establish a connection to ensure all command logs are displayed to the user. This fixes an issue where some command logs, like download or network events, are missing once Cypress has disconnected and then reconnected to the Chrome DevTools Protocol. Fixed #20618.Fixed an issue where
cy.type('{enter}')was not sending the Enter key for Firefoxv98+. This was not an issue with Firefoxv97and below. Fixed #20562.Fixed a regression in 9.3.0 where glob patterns provided to the
--specCLI parameter was incorrectly splitting the patterns in unexpected places when it should have split on commas. Fixes #20794.Fixed an issue with
cy.root()to respect thetimeoutoption passed to the command. Previously, when thetimeoutoption was provided, it was ignored and the default timeout was used. Fixed #19985.Updates were made to decrease the length of the Cypress cache path for Windows to ensure installing pre-release versions of the Cypress binary are within the maximum path length of 260 characters. Fixed in #20961.
Fixed a regression in 8.6.0 which prevented
.pause()from correctly executing when passing the--headed --no-exitCLI flags tocypress run. Fixed #20745.Fixed a regression in 9.2.0 which would sometimes throw an expected error on navigation with
cy.back()andcy.go(). Fixed #19749 and #20539.Corrected the TypeScript type for a cookie which was incorrectly typed as
anywhen the correct type isCookie. Fixed in #20513.Added the missing
Cypress.Command.addAll()TypeScript types. Fixed #18886.Fixed an uncommon error observed in
cy.session()where an error was thrown when no cookies had been set for the session and the user clicks the session command log to view additional details in the DevTools console. Fixed in #20946.
Misc:
A minor visual update was made to the
cy.session()command log visuals. Fixed #20433.
Dependency Updates:
Upgraded
ansi-regexdependency from4.1.0to4.1.1to address the CVE-2021-3807 NVD security vulnerability. Addressed in #20807.Upgraded
plistdependency from3.0.4to3.0.5to address the CVE-2022-22912 NVD security vulnerability. Addressed in #20808.