5.5.0
Released Released on October 25, 2020
Features:
cy.viewport() has a new
macbook-16preset. Addresses #8889..type() now fires the
beforeInputevent during typing. Note: Firefox does not support thebeforeinputevent. Addresses #7088.
Bugfixes:
Updated the Cypress proxy layer to proxy HTTPS traffic from non-AUT origins. Addressed in #8827.
This fixed an issue with
cy.route2()where HTTPS requests to a non-AUT origin would not be intercepted as expected.
cy.route2()now properly handles passing a method as its first argument. Fixes #8729.Fixed an issue with
cy.route2()where a "Cannot set property response of undefined" error would occasionally occur. Fixes #8858.Headers field names passed to
cy.route2()now case-insensitively match against the field names of incoming HTTP requests. Fixes #8921.Routes that stub fixtures for binary resources (including images) made with
cy.route2()now serve the correct mime-type and content. Fixes #8623.When experimentalNetworkStubbing is enabled, using cy.visit() to URLs that redirect and set Transfer-Encoding: chunked will no longer fail in Cypress with a "Parse Error". Fixes #8497.
cypress.run()through the Module API now has astatusproperty in the results matching the correct CLI types ("failed"or"finished"). Addresses #8798.When a value containing an
echaracter is passed to the--ci-build-idflag, Cypress now properly reads it as a string. Fixes #8874.
Misc:
Updated type definitions to allow for passed either
runModeoropenModetoretriesalone. Addresses #8869.
Dependency Updates: