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, and contain.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_BINARY environment 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 that cy.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:

Dependency Updates

  • Removed string-to-stream since it was no longer being used. Addressed in #4619.

  • Upgraded @cypress/commit-info from 2.1.3 to 2.1.4. Addressed in #4597.

  • Upgraded @cypress/react-tooltip from 0.4.0 to 0.5.0. Addressed in #4610.

  • Upgraded errorhandler from 1.5.0 to 1.5.1. Addressed in #4618.

  • Upgraded fs-extra from 8.0.1 to 8.1.0. Addressed in #4620.

  • Upgraded request-progress from 0.4.0 to 3.0.0. Addressed in #4584.

  • We also updated and removed some dependencies used for development.