Cypress v5.3.0 Release Notes
Release Date: 2020-09-29 // over 3 years ago-
๐ Released 9/28/2020
๐ Features:
- ๐ฑ Firefox support is now out of beta! ๐ Firefox 80 and newer are now officially stable when used with Cypress. Addresses #8241.
- Versions of Firefox older than 80 can still be used, but will be subject to the
firefoxGcInterval
workaround. The desktop GUI will display a warning if such versions are used.
- Versions of Firefox older than 80 can still be used, but will be subject to the
๐ Bugfixes:
- ๐ Fixed a bug where
cy.route2
would not automatically JSONify an empty array handler. Addresses #8532. - ๐ Fixed a bug where objects yielded by using
cy.wait
on acy.route2
alias would not always have aresponse
property. Addresses #8536. - ๐ Fixed an issue where
cy.route2
routes would not be able to intercept requests to HTTPS destinations on a different origin. Addresses #8487. - ๐ Fixed an issue where subjects became
undefined
after certain assertion failures. Addresses #5763. - ๐ Fixed an issue where a
cy.task
with no arguments passed would receivenull
as the first argument instead ofundefined
. Addresses #5913. - ๐ Fixed an issue preventing users from passing the config-file argument when starting cypress through the node module API. Addresses #8632.
- ๐ Fixed an issue where
cy.visit()
s to a relative URL containing..
would not work. Addresses #5090. - ๐ Fixed an issue where Mocha hooks could still be triggered after the Test Runner was manually stopped. Addresses #8621.
- ๐ Fixed an issue where
cy.setCookie
failed when given a cookie name with a__Host-
prefix. Addresses #8261. - ๐ Fixed an issue where a misleading error was displayed when test code threw an exception with a non-
Error
object. Addresses #7870.
Misc:
- ๐ The proxy now omits the
Content-Security-Policy-Report-Only
header the same way that it does forContent-Security-Policy
. Addresses #7936. - โ Added a
status
property toCypressRunResult
objects. Addresses #8580. - โก๏ธ Updated types to no longer use deprecated Mocha interfaces. Addresses #5795.
- Passing an empty string to
CYPRESS_INSTALL_BINARY
now takes precedence over npm config. Addresses #8488.
- ๐ฑ Firefox support is now out of beta! ๐ Firefox 80 and newer are now officially stable when used with Cypress. Addresses #8241.