yarn cypress 7.2.0

latest releases: 13.8.1, 13.8.0, 13.7.3...
3 years ago

Released 04/26/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_TYPE type 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-ct no 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 the value attribute 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 componentFolder outside 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 of void. 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 run and when selecting Electron browser in cypress open from 89.0.4348.1 to 89.0.4328.0. This was done to address a performance regression introduced in 7.0.0. Addressed in #16113.
  • Upgraded systeminformation from 5.3.1 to 5.6.4. Addressed in #15819.
  • Replaced lolex with @sinonjs/fake-timers. Addressed in #15595.

Don't miss a new cypress release

NewReleases is sending notifications on new releases.