6.4.0
Released Released on January 31, 2021
Features:
There's now a Command Log entry in the Test Runner for when a file is downloaded. Addresses #14749.
Deprecations:
The
delayMsoption for cy.intercept() has been renamed todelay.delayMswill still work, but it is deprecated and will be removed in a future release. Addresses #14822.
Bugfixes:
Fixed an issue causing a webpack compilation error when a
browserslistis present in project root. Addresses #8864.Fixed an issue with cy.intercept() where aliases set via
req.aliascontaining a period character would not work as expected. Addresses #14444.Fixed an issue where delays set using cy.intercept() would not work as expected. Addresses #14446 and #14511.
Reverted a change to how the Chrome DevTools Protocol is established. Instead of using stdio and then falling back to TCP, Cypress now only uses TCP to try to connect to Chrome DevTools Protocol. Addresses #14819.
We now better handle spec paths containing special characters so they properly show in the code frame and work when interacting via your IDE. Addresses #14659.
We addressed several issues with the experimental Cypress Studio. To enable the Cypress Studio you can set
experimentalStudiototruein your Cypress configuration. Issues addressed:Cypress Studio now prompts to start adding commands after visiting an inputted url. Addresses #14688.
Empty
.type()commands will no longer be generated when tabbing through inputs. Addresses #14684.Cypress Studio no longer prompt to enter a URL if the test is in an errored state. Addresses #14686.
Cypress Studio now reloads tests when
watchForFileChangesisfalse. Addresses #14744.An empty
.click()command will no longer be added before.type()in Cypress Studio when it is followed by typed characters. Addresses #14685.Cypress Studio will now use the correct selector for an element even if the click event changed the selectors. Addresses #14658.
Multi-select
selectsare now supported in Cypress Studio. Addresses #14743.There's an improved UI for command failures within Cypress Studio. Addresses #14691.
The Selector Playground is now closed automatically when Cypress Studio is opened. #14689.
Misc:
The "no specs found" error now displays which directory it searched for specs. Addresses #14532.
More types for the resolved config property have been added. Addresses #14392.
Dependency Updates:
Upgraded
@cypress/get-windows-proxyto version1.6.2. Addressed in #14711.Upgraded
electronto version11.2.1. Addressed in #14764.Upgraded
recastto version0.20.4. Addressed in #14623.Upgraded
registry-jsto version1.13.0. Addressed in #14668.Upgraded
semantic-releaseto version17.2.3. Addressed in #14713.Upgraded
systeminformationto version4.31.1. Addressed in #14715.