7.2.0
Released Released on April 25, 2021
Features:
You can now navigate through folders in the Test Runner using the Tab keyboard input and open or close the folder's content with the Enter & Space keyboard inputs. Addresses #3741.
Performance:
Fixed a regression in 7.0.0 that caused tests to run slowly, especially when run with constrained CPU resources. Fixes #15853.
Fixed a regression in 7.0.0 causing decreased performance in Chromium browsers due to requesting screencast frames when video is disabled. Fixes #16030.
Bugfixes:
Fixed a regression in 7.0.0 that caused the Test Runner to crash with an
ERR_INVALID_ARG_TYPEtype error. We now correctly detect a utf8 request body with multi-byte Unicode characters. Fixes #15901.Reusing
cy.intercept()aliases will now work as expected. Fixes #15823.Fixed an issue in 7.0 where users could get a misleading "must pass a handler as the 3rd argument" error when using
cy.intercept. Fixes #16117.cypress run-ctno longer hangs on Windows machines. Fixes #15976.Hovering over a command log without a snapshot will no longer cause the error
Cannot read property 'name' of null. Fixes #15816.We now throw an error when attempting to
.select()an<option>within a disabled<fieldset>. Fixes #5951..type()will no longer change thevalueattribute of button-like inputs with type button, submit, reset, image, radio, or checkbox. Fixes #15913.Specs will now load when using a relative directory for
componentFolderoutside of the root project when specifying--project. Fixes #16053.The search input will now display when there are many component spec files. Fixes #16089.
Misc:
Lodash types have been updated. Addressed in #15860.
Types for the selector playground have been added. Addressed in #15834.
Cypress.Cookies.defaults()now returns the correct type instead ofvoid. Addresses #15426..then()will show the correct type when a collection of HTMLElements is provided. Addressed in #15869.Improved types for
cy.intercept(). Addressed in #16167.
Dependency Updates:
Downgraded the Chromium browser version used during
cypress runand when selecting Electron browser incypress openfrom89.0.4348.1to89.0.4328.0. This was done to address a performance regression introduced in 7.0.0. Addressed in #16113.Upgraded
systeminformationfrom5.3.1to5.6.4. Addressed in #15819.Replaced
lolexwith@sinonjs/fake-timers. Addressed in #15595.