5.3.0
Released Released on September 27, 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
firefoxGcIntervalworkaround. The desktop GUI will display a warning if such versions are used.
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.waiton acy.route2()alias would not always have aresponseproperty. 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
undefinedafter certain assertion failures. Addresses #5763.Fixed an issue where a
cy.taskwith no arguments passed would receivenullas 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.setCookiefailed 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-
Errorobject. Addresses #7870.
Misc:
The proxy now omits the
Content-Security-Policy-Report-Onlyheader the same way that it does forContent-Security-Policy. Addresses #7936.Added a
statusproperty toCypressRunResultobjects. Addresses #8580.Updated types to no longer use deprecated Mocha interfaces. Addresses #5795.
Passing an empty string to
CYPRESS_INSTALL_BINARYnow takes precedence over npm config. Addresses #8488.