Released 10/11/2021
Features:
cy.screenshot()
now acceptsoverwrite: true
as an option to overwrite
existing screenshots with the same file name. Addresses
#7955.cy.select([])
can now be used to clear any selected options in a multi-value
select. Addresses #4318.- Using
cy.pause()
when usingcypress run --headed --no-exit
will now pause
a test. Addresses #4044.
Bugfixes:
- Fixed a regression introduced in 8.2.0 where certain XMLHttpRequests
would not display their response bodies in the DevTools Console when clicked.
Fixes #17656. - Fixed a regression in 8.3.0 where capturing videos in Chrome
versions earlier than 89 would result in choppy videos and skipped frames.
Fixes #18021. - Cypress displays the correct error when certain custom error types are thrown
within a test. Fixes
#18259. - The Cypress App will no longer crash when passed a
--spec: {}
from the CLI
and instead error when passed an invalid object argument. Fixes
#3957. - Logging a plain object no longer results in the error "Cannot convert object
to primitive value". Fixes #18143.
Misc:
- Updated the
cy.request()
error message when conflictingfailOnStatusCode
andretryOnStatusCodeFailure
options are passed to be clearer. Fixes
#18271.
Dependency Updates: