6.3.0
Released Released on January 18, 2021
Features:
Cypress Studio provides a visual way to generate tests within the Test Runner, by recording interactions against the application under test. Cypress Studio is an experimental feature that can be enabled by adding the experimentalStudio attribute to your configuration,
cypress.jsonby default. Address #73.You can now test file downloads in Cypress without the download prompt displaying. Any files downloaded while testing file downloads will be stored in the downloadsFolder which is set to
cypress/downloadsby default. ThedownloadsFolderwill be deleted before each run unless trashAssetsBeforeRuns is set tofalse. Addresses #949.
Bugfixes:
When an uncaught exception is thrown outside a suite with an
.only, the error will now correctly display in the Command Log. Fixes #14455.Cypress will no longer crash when no record key is provided to the
--keyflag when followed by other CLI flags. Fixed #14593.Extra screenshots will no longer be taken when tests are retried when there is a failure in an
afterEachhook. Fixes #9209.Having
waitForAnimationsset tofalseno longer affects whether Cypress fires actions on inner elements. Fixes #14370.We fixed a regression in 5.0.0 that would cause string
CYPRESS_prefixed env variables containing commas to be parsed as multiple values. Fixes #8818.We fixed a regression in 4.9.0 where asserting
have.valueon an undefined subject would throw an error. Fixes #14359.We updated the CDP connection to attempt to use the stdio transport first with Chrome 72 and above, before falling back to using TCP. This should remediate issues causing sporadic "Cypress failed to make a connection to the Chrome DevTools Protocol after retrying" errors. Fixes #6540, #7450, #8674, and #8986.
Misc:
We removed several Chrome flags that are no longer supported. Addressed in #14582.
You can now open the actively running spec file in your IDE. Addressed in #14521.
Dependency Updates:
Replaced deprecated
node-sasswithsass. Addressed in #14415.Upgraded
debugfrom4.1.1to4.3.1. Addressed in #14583.Upgraded
electronfrom11.0.3to11.2.0. Addressed in #14567.Upgraded
electron-builderfrom22.8.0to22.9.1. Addressed in #14493.Upgraded
shell-envfrom3.0.0to3.0.1. Addressed in #14622.Upgraded
uuidfrom8.2.0to8.3.2. Addressed in #14170.