4.7.0

Released Released on May 25, 2020

Features:

  • cy.request() now supports an encoding option that can be used to set the encoding of the response body, defaulting to utf-8. Addresses #2029 and #3576.

Bugfixes:

  • We fixed a regression in 4.6.0 where the address bar of the application under test would disappear when scrolling commands ran and the application under test would visually shift after taking screenshots. Fixes #7443 and #7466.

  • We fixed a regression in 4.6.0 where test runs could hang when loading spec files with source maps. Fixes #7464.

Misc:

  • We now display a more descriptive error message when the plugins file does not export a function. Addresses #6611.