Skip to content

chore(deps): update dependency cypress to ^8.7.0

Renovate requested to merge renovate/cypress-8.x into staging

This MR contains the following updates:

Package Type Update Change
cypress (source) devDependencies minor ^8.3.0 -> ^8.7.0

Release Notes

cypress-io/cypress (cypress)

v8.7.0: 8.7.0

Compare Source

Released 10/25/2021

Features:

  • There are changes to how "slow" tests are determined and displayed in Cypress. Addresses #​18496.
    • Added a slowTestThreshold configuration option to customize when tests are considered "slow" during cypress run. A test that runs slower than the given threshold will display in orange text in the default 'spec' reporter. This configuration can be set in your Cypress config file or via specific test configuration.
    • The default slow test threshold was changed from 75ms (Mocha's default) to 10000ms for e2e tests and 250ms for component tests. To restore the old behavior, you can add "slowTestThreshold": 75 to your Cypress config file.
    • All tests will show the time the test ran in milliseconds during cypress run with the default 'spec' reporter.
  • Users can pass an overwrite: true option to Cypress.Screenshot.defaults to change default behavior to overwrite existing screenshots without having to set overwrite for each cy.screenshot() command. Addresses #​7955.

Bugfixes:

  • Fixed a regression introduced in 8.6.0 where videos recorded in Electron to the Dashboard were not playable in the Firefox or Safari browser and were not compatible with QuickTime player in MacOS.
  • Fixed a regression introduced in 8.6.0 so that the warning about the projectRoot directory not being writeable will now display correctly. Fixes #​18485.
  • Improved the error message when running Cypress without non-root permissions. Fixes #​18445.
  • An error now throws when invalid options are passed to the selectorPriority configuration option of Cypress.SelectorPlayground.defaults. Valid values are data-*, id, class, tag, attribute, or nth-child. Fixes #​7745.

Dependency Updates:

  • Pinned resolution of ua-parser-js to 0.7.24 to avoid dependency resolution to the compromised package versions. Please read the security advisory and take actions advised as soon as possible. Addressed in #​18611

v8.6.0: 8.6.0

Compare Source

Released 10/11/2021

Features:

  • cy.screenshot() now accepts overwrite: true as an option to overwrite existing screenshots with the same file name. Addresses #​7955.
  • cy.select([]) can now be used to clear any selected options in a multi-value select. Addresses #​4318.
  • Using cy.pause() when using cypress run --headed --no-exit will now pause a test. Addresses #​4044.

Bugfixes:

  • Fixed a regression introduced in 8.2.0 where certain XMLHttpRequests would not display their response bodies in the DevTools Console when clicked. Fixes #​17656.
  • Fixed a regression in 8.3.0 where capturing videos in Chrome versions earlier than 89 would result in choppy videos and skipped frames. Fixes #​18021.
  • Cypress displays the correct error when certain custom error types are thrown within a test. Fixes #​18259.
  • The Cypress App will no longer crash when passed a --spec: {} from the CLI and instead error when passed an invalid object argument. Fixes #​3957.
  • Logging a plain object no longer results in the error "Cannot convert object to primitive value". Fixes #​18143.

Misc:

  • Updated the cy.request() error message when conflicting failOnStatusCode and retryOnStatusCodeFailure options are passed to be clearer. Fixes #​18271.

Dependency Updates:

  • Upgraded the Chromium browser version used during cypress run and when selecting Electron browser in cypress open from 91.0.4472.164 to 93.0.4577.58.
  • Upgraded electron from 13.2.0 to 14.1.0. Addressed in #​18318 and #​18384.

v8.5.0: 8.5.0

Compare Source

Released 09/27/2021

Features:

  • You can now select an option by index within the .select() command. Addresses #​757.
  • Cypress now captures the repository URL on Drone CI. Addresses #​18210.

Bugfixes:

  • The download of Cypress now respects the NO_PROXY environment variable when one is set. Fixes #​17702.
  • When using a custom config file and setting it up to record to the Dashboard, Cypress now writes the projectId in the custom config file instead of cypress.json. Fixes #​5747.

Misc:

  • Windows 32-bit has been deprecated and support will be removed in a later release. A deprecation warning will now display when using Cypress in a Windows 32-bit OS. See #​17962 for more detail. Addresses #​18094.
  • Improved the error messages when an invalid argument type is passed to the .select() command. Addressed in #​18234.

v8.4.1: 8.4.1

Compare Source

Released 09/17/2021

Bugfixes:

  • Cypress will no longer crash when setting up a project to record to the Dashboard or viewing the runs or record key for a previously set up project. Fixes #​18129.
  • The branch collected for Drone CI now correctly reflects the source MR branch for showing in the Cypress Dashboard. Fixes #​17860.

v8.4.0: 8.4.0

Compare Source

Released 09/13/2021

Features:

  • When the URL contains non-ASCII characters, you can use the new decode option of cy.url() to decode it. Addresses #​17399.

Bugfixes:

  • Cypress now better handles situations where the extension was installed in a read-only location. Fixes #​3852.
  • A clearer error message is now thrown for .check() or .uncheck() when there are no matching value attributes found. Fixes#​7379.
  • Hooks will no longer rerun on unrelated tests in some situations after a domain navigation. Fixes #​17705.
  • clientCertificate types have been added for the Cypress configuration. Fixes #​17799.

v8.3.1: 8.3.1

Compare Source

Released 08/27/2021

Performance:

  • Projects will now open much faster on MacOS Big Sur with improved browser detection performance. Fixes #​17773.

Bugfixes:

  • Fixed a regression in 8.3.0 where the correct exit code would not be issued during cypress run-ct while running in the Electron browser. Fixes #​17752 and #​17885.
  • Fixed a regression in 8.3.0 where Cypress would cause a SIGSEGV error on Mac when closing the Cypress app opened via cypress open. Fixes #​17766.
  • The beforeinput event now correctly fires in Firefox during keyboard events. Fixes #​17583.

Misc:

  • cy.document() typings now allow for the timeout option. Fixes #​17695.
  • cy.title() typings now allow for the timeout option. Fixes #​17781

Dependency Updates:

  • Upgraded electron from 13.1.7 to 13.2.0. Addressed in #​17772.
  • Upgraded @cypress/request from 2.88.5 to 2.88.6. Addresses #​17622.

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever MR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this MR and you won't be reminded about this update again.


  • If you want to rebase/retry this MR, check this box

This MR has been generated by Renovate Bot.

Merge request reports

Loading