bahmutov / cyclope

Cypress DOM snapshots and consistent image diffing in the cloud
13 stars 2 forks source link

chore(deps): update dependency cypress to v8.7.0 #22

Closed renovate[bot] closed 2 years ago

renovate[bot] commented 2 years ago

WhiteSource Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
cypress 8.4.1 -> 8.7.0 age adoption passing confidence

Release Notes

cypress-io/cypress ### [`v8.7.0`](https://togithub.com/cypress-io/cypress/releases/v8.7.0) [Compare Source](https://togithub.com/cypress-io/cypress/compare/v8.6.0...v8.7.0) *Released 10/25/2021* **Features:** - There are changes to how "slow" tests are determined and displayed in Cypress. Addresses [#​18496](https://togithub.com/cypress-io/cypress/pull/18496). - Added a [`slowTestThreshold`](https://docs.cypress.io/guides/references/configuration#Timeouts) 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](https://docs.cypress.io/guides/core-concepts/writing-and-organizing-tests#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](https://togithub.com/cypress-io/cypress/issues/7955). **Bugfixes:** - Fixed a regression introduced in [8.6.0](https://docs.cypress.io/guides/references/changelog#​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](https://docs.cypress.io/guides/references/changelog#​8-6-0) so that the warning about the `projectRoot` directory not being writeable will now display correctly. Fixes [#​18485](https://togithub.com/cypress-io/cypress/issues/18485). - Improved the error message when running Cypress without non-root permissions. Fixes [#​18445](https://togithub.com/cypress-io/cypress/issues/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](https://togithub.com/cypress-io/cypress/issues/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](https://togithub.com/advisories/GHSA-pjwm-rvh2-c87w) and take actions advised as soon as possible. Addressed in [#​18611](https://togithub.com/cypress-io/cypress/pull/18611) ### [`v8.6.0`](https://togithub.com/cypress-io/cypress/releases/v8.6.0) [Compare Source](https://togithub.com/cypress-io/cypress/compare/v8.5.0...v8.6.0) *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](https://togithub.com/cypress-io/cypress/issues/7955). - `cy.select([])` can now be used to clear any selected options in a multi-value select. Addresses [#​4318](https://togithub.com/cypress-io/cypress/issues/4318). - Using `cy.pause()` when using `cypress run --headed --no-exit` will now pause a test. Addresses [#​4044](https://togithub.com/cypress-io/cypress/issues/4044). **Bugfixes:** - Fixed a regression introduced in [8.2.0](https://docs.cypress.io/guides/references/changelog#​8-2-0) where certain XMLHttpRequests would not display their response bodies in the DevTools Console when clicked. Fixes [#​17656](https://togithub.com/cypress-io/cypress/issues/17656). - Fixed a regression in [8.3.0](https://docs.cypress.io/guides/references/changelog#​8-3-0) where capturing videos in Chrome versions earlier than 89 would result in choppy videos and skipped frames. Fixes [#​18021](https://togithub.com/cypress-io/cypress/issues/18021). - Cypress displays the correct error when certain custom error types are thrown within a test. Fixes [#​18259](https://togithub.com/cypress-io/cypress/issues/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](https://togithub.com/cypress-io/cypress/issues/3957). - Logging a plain object no longer results in the error "Cannot convert object to primitive value". Fixes [#​18143](https://togithub.com/cypress-io/cypress/issues/18143). **Misc:** - Updated the `cy.request()` error message when conflicting `failOnStatusCode` and `retryOnStatusCodeFailure` options are passed to be clearer. Fixes [#​18271](https://togithub.com/cypress-io/cypress/issues/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](https://togithub.com/cypress-io/cypress/issues/18318) and [#​18384](https://togithub.com/cypress-io/cypress/issues/18384). ### [`v8.5.0`](https://togithub.com/cypress-io/cypress/releases/v8.5.0) [Compare Source](https://togithub.com/cypress-io/cypress/compare/v8.4.1...v8.5.0) *Released 09/27/2021* **Features:** - You can now select an option by index within the [`.select()`](https://docs.cypress.io/api/commands/select) command. Addresses [#​757](https://togithub.com/cypress-io/cypress/issues/757). - Cypress now captures the repository URL on Drone CI. Addresses [#​18210](https://togithub.com/cypress-io/cypress/issues/18210). **Bugfixes:** - The download of Cypress now respects the `NO_PROXY` environment variable when one is set. Fixes [#​17702](https://togithub.com/cypress-io/cypress/issues/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](https://togithub.com/cypress-io/cypress/issues/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](https://togithub.com/cypress-io/cypress/issues/17962) for more detail. Addresses [#​18094](https://togithub.com/cypress-io/cypress/issues/18094). - Improved the error messages when an invalid argument type is passed to the [`.select()`](https://docs.cypress.io/api/commands/select) command. Addressed in [#​18234](https://togithub.com/cypress-io/cypress/pull/18234).

Configuration

πŸ“… Schedule: "after 10pm every weekday,every weekend,before 5am every weekday" in timezone America/New_York.

🚦 Automerge: Enabled.

β™» Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

πŸ”• Ignore: Close this PR and you won't be reminded about this update again.



This PR has been generated by WhiteSource Renovate. View repository job log here.

github-actions[bot] commented 2 years ago

:tada: This PR is included in version 2.0.2 :tada:

The release is available on:

Your semantic-release bot :package::rocket: