4.0.2

Released Released on February 13, 2020

Bugfixes:

  • We fixed a bug where tests in Firefox would not open on macOS if another instance of Firefox was open. Fixes #6380.

  • We fixed a regression in 4.0.0 where using .should('not.contain', ...) chained after a .contains() would produce unexpected results. Fixes #6384.

  • We fixed a regression in 4.0.0 where non-top-level require()s in tests no longer worked. Fixes #6403.

  • Re-running a failed workflow in GitHub Actions now properly generates a new Dashboard run. Fixes #6450.

Misc:

  • We fixed incorrect type definitions for Cypress.isBrowser. Addresses #6447.

  • We improved the error experience when launching a browser fails. Addresses #6432.

  • We improved the error experience when visiting the Cypress server outside of a Cypress-launched browser. Addresses #6435.

Dependency Updates

  • Upgraded @cypress/browserify-preprocessor from 2.1.1 to 2.1.4. Addressed in #6419.