4.5.0

Released Released on April 27, 2020

Features:

  • Cypress now supports the execution of component tests using framework-specific adaptors when setting the experimentalComponentTesting configuration option to true. For more details see the @cypress/react and @cypress/vue repos. Addresses #5922 and #6968.

Bugfixes:

  • Custom Mocha reporters will now correctly use the version of Mocha bundled with Cypress. Fixes #3537 and #6984.

  • We better account for word boundaries in application scripts when modifyObstructiveCode is true. Fixes #7138.

  • Fixed an issue where iterators in TypeScript were not properly transpiled. Fixes #7098.

Misc:

  • The update window in the Test Runner now encourages yarn users to yarn upgrade Cypress instead of yarn add to help prevent installing 2 versions of Cypress when using yarn workspaces. Addressed in #7101.

  • We're continuing to make progress in converting our codebase from CoffeeScript to JavaScript. Addresses #2690 in #7031 and #7097.

Dependency Updates:

  • Upgraded electron from 8.2.0 to 8.2.3. Addressed in #7079.