3.4.0
Released Released on July 8, 2019
Features:
Users can now log in to the Test Runner through the browser installed on their system. This also allows for login via GitHub with U2F keys. Addresses #3583, #4337, and #1162.
Google or SSO (if configured) login is now supported in the Test Runner. Addresses #3519.
Bugfixes:
Cypress now properly supports partial matching of string values for assertions
contain.text,contain.html, andcontain.value. Fixes #1969.A form is now properly submitted when using
.type('{enter}')on a form containing no buttons and only one input that allows implicit submission. Fixes #4495.Extra whitespace and quotations are now stripped from the
CYPRESS_INSTALL_BINARYenvironment variable to help prevent some unexpected results when set in Windows. Fixes #4506.Electron rendering warnings are no longer printed to console output. Fixes #4288.
Misc:
We now expose a downloadable binary for each commit made into the develop branch of the cypress repository so that pre-released versions can be installed. See this commit for an example. Addresses #4525.
There are now a series of checks that are run during download of Cypress to verify that the zip file downloaded is the correct file. Addresses #812 and #3515.
A warning now displays for Windows' users who have Group Policy settings that may interfere with usage of Cypress. Addresses #4391.
There's a new warning when mouse interactions fail displaying that it failed due to the element having CSS
pointer-events: none. Addresses #3164.If a URL is passed to
cy.route()containing percent-encoded characters, we now display a warning explaining thatcy.route()expects a decoded URL. Addresses #2372.Environment variables for Semaphore 2.0 are now captured when recording tests to the Dashboard. Fixes #4671.
We now capture environment variables set from Concourse CI when recording tests to the Dashboard. Fixes #4376.
We replaced capturing environment variables from SnapCI (which is no longer available) to instead capture ones set from GoCD when recording tests to the Dashboard. Fixes #2680.
The JSON schema file used for intelligent code completion for the Cypress configuration file has been updated to match our documentation.
Documentation Changes:
New error message added about policy settings to our Error Messages doc. Addressed in #1567.
Real World example tests were added to Example Applications doc. Addressed in #1567.
More content was added to our Code Coverage doc.
Dependency Updates
Removed
string-to-streamsince it was no longer being used. Addressed in #4619.Upgraded
@cypress/commit-infofrom2.1.3to2.1.4. Addressed in #4597.Upgraded
@cypress/react-tooltipfrom0.4.0to0.5.0. Addressed in #4610.Upgraded
errorhandlerfrom1.5.0to1.5.1. Addressed in #4618.Upgraded
fs-extrafrom8.0.1to8.1.0. Addressed in #4620.Upgraded
request-progressfrom0.4.0to3.0.0. Addressed in #4584.We also updated and removed some dependencies used for development.