Update dependency cypress to v8 #601

Merged
konrad merged 1 commits from renovate/cypress-8.x into main 2021-07-20 07:35:02 +00:00
Member

This PR contains the following updates:

Package Type Update Change
cypress devDependencies major 7.7.0 -> 8.0.0

Release Notes

cypress-io/cypress

v8.0.0

Compare Source

Released 07/19/2021

Summary:

We've made some updates to ensure a consistent run experience across browsers.
Now all browsers run via cypress run run headlessly, with a device pixel ratio
of 1, and a screen size of 1280x720 by default.

Breaking Changes:

Please read our
Migration Guide which explains the changes
in more detail and how to change your code to migrate to Cypress 8.0.

  • When running cypress run previous to 8.0, some browsers would launch headed
    while others were launched headless by default. Cypress now runs all browsers
    during cypress run as headless by default. Addresses
    #​16832.
  • The default screen size when running a headless browser has been reverted back
    to 1280x720 pixels (pre 7.0 behavior). Addresses
    #​16853.
  • When running the --headless Chrome browser via cypress run, the device
    pixel ratio will now be 1 by default, matching the behavior of all other
    browsers. This behavior can be overridden through the
    browser launch API.
    Addresses #​17375.
  • Cypress now enforces version checks for browser launching and will error
    during cypress run and not allow opening the browser in cypress open when
    attempting to open unsupported browser versions. Cypress supports Chrome >=
    64, Firefox >= 86, and Edge >= 79. Addressed in
    #​17355.
  • Arguments returned from a chained function will no longer incorrectly be of
    type jQuery and instead have an any type. Fixes
    #​16669.
  • The Cypress.ConfigOptions, Cypress.ResolvedConfigOptions and
    Cypress.RuntimeConfigOption types have been updated so that ConfigOptions
    match the JSON schema. Addressed in
    #​17251.

Features:

  • You can now configure certificate authority (CA) and client certificates to
    use within tests on a per-URL basis via a clientCertificates configuration
    option. See Client certificates for
    more detail.
  • Setting the environment variable ELECTRON_RUN_AS_NODE now starts Cypress as
    a normal Node.js process rather than an Electron process. See
    Running headless tests without Xvfb
    for more details. Addresses
    #​16505.

Bugfixes:

  • console.log and console.error called within the
    plugins file
    will now be captured in the stdout sent to the Cypress Dashboard, making it
    visible in Output logs in the Dashboard. Fixes
    #​7434.
  • There are several fixes for cy.intercept()
    including:
    • The times option now works correctly with req.continue. Fixes
      #​16821.
    • localhost is now accepted as a valid hostname in the RouteMatcher.
      Fixes #​17015.
    • delay now works correctly with a statusCode of 204. Fixes
      #​15188.
  • When using the experimental
    Cypress Studio, there should be a
    reduced occurrence of "Studio failed to save commands" error messages. Fixes
    #​14767.
  • cy.invoke() now retains the proper this context on
    nested object methods. Fixes
    #​3871.
  • We no longer trigger unnecessary snapshot re-renders when hovering over the
    Command Log. Fixes
    #​17257.

Configuration

📅 Schedule: At any time (no schedule defined).

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

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.


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

This PR has been generated by Renovate Bot.

This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [cypress](https://github.com/cypress-io/cypress) | devDependencies | major | [`7.7.0` -> `8.0.0`](https://renovatebot.com/diffs/npm/cypress/7.7.0/8.0.0) | --- ### Release Notes <details> <summary>cypress-io/cypress</summary> ### [`v8.0.0`](https://github.com/cypress-io/cypress/releases/v8.0.0) [Compare Source](https://github.com/cypress-io/cypress/compare/v7.7.0...v8.0.0) *Released 07/19/2021* **Summary:** We've made some updates to ensure a consistent run experience across browsers. Now all browsers run via `cypress run` run headlessly, with a device pixel ratio of 1, and a screen size of 1280x720 by default. **Breaking Changes:** **<Icon name="exclamation-triangle" color="red"></Icon> Please read our [Migration Guide](https://docs.cypress.io/guides/references/migration-guide) which explains the changes in more detail and how to change your code to migrate to Cypress 8.0.** - When running `cypress run` previous to 8.0, some browsers would launch headed while others were launched headless by default. Cypress now runs all browsers during `cypress run` as headless by default. Addresses [#&#8203;16832](https://github.com/cypress-io/cypress/issues/16832). - The default screen size when running a headless browser has been reverted back to 1280x720 pixels (pre 7.0 behavior). Addresses [#&#8203;16853](https://github.com/cypress-io/cypress/issues/16853). - When running the `--headless` Chrome browser via `cypress run`, the device pixel ratio will now be 1 by default, matching the behavior of all other browsers. This behavior can be overridden through the [browser launch API](https://docs.cypress.io/api/plugins/browser-launch-api#Override-the-device-pixel-ratio). Addresses [#&#8203;17375](https://github.com/cypress-io/cypress/issues/17375). - Cypress now enforces version checks for browser launching and will error during `cypress run` and not allow opening the browser in `cypress open` when attempting to open unsupported browser versions. Cypress supports Chrome >= 64, Firefox >= 86, and Edge >= 79. Addressed in [#&#8203;17355](https://github.com/cypress-io/cypress/pull/17355). - Arguments returned from a chained function will no longer incorrectly be of type `jQuery` and instead have an `any` type. Fixes [#&#8203;16669](https://github.com/cypress-io/cypress/issues/16669). - The `Cypress.ConfigOptions`, `Cypress.ResolvedConfigOptions` and `Cypress.RuntimeConfigOption` types have been updated so that `ConfigOptions` match the JSON schema. Addressed in [#&#8203;17251](https://github.com/cypress-io/cypress/pull/17251). **Features:** - You can now configure certificate authority (CA) and client certificates to use within tests on a per-URL basis via a `clientCertificates` configuration option. See [Client certificates](https://docs.cypress.io/guides/references/client-certificates) for more detail. - Setting the environment variable `ELECTRON_RUN_AS_NODE` now starts Cypress as a normal Node.js process rather than an Electron process. See [Running headless tests without Xvfb](https://docs.cypress.io/guides/continuous-integration/introduction#Running-headless-tests-without-Xvfb) for more details. Addresses [#&#8203;16505](https://github.com/cypress-io/cypress/issues/16505). **Bugfixes:** - `console.log` and `console.error` called within the [plugins file](https://docs.cypress.io/guides/core-concepts/writing-and-organizing-tests.html#Plugin-files) will now be captured in the `stdout` sent to the Cypress Dashboard, making it visible in Output logs in the Dashboard. Fixes [#&#8203;7434](https://github.com/cypress-io/cypress/issues/7434). - There are several fixes for [`cy.intercept()`](/api/commands/intercept) including: - The `times` option now works correctly with `req.continue`. Fixes [#&#8203;16821](https://github.com/cypress-io/cypress/issues/16821). - `localhost` is now accepted as a valid `hostname` in the `RouteMatcher`. Fixes [#&#8203;17015](https://github.com/cypress-io/cypress/issues/17015). - `delay` now works correctly with a `statusCode` of 204. Fixes [#&#8203;15188](https://github.com/cypress-io/cypress/issues/15188). - When using the experimental [Cypress Studio](https://docs.cypress.io/guides/core-concepts/cypress-studio), there should be a reduced occurrence of "Studio failed to save commands" error messages. Fixes [#&#8203;14767](https://github.com/cypress-io/cypress/issues/14767). - [`cy.invoke()`](/api/commands/invoke) now retains the proper `this` context on nested object methods. Fixes [#&#8203;3871](https://github.com/cypress-io/cypress/issues/3871). - We no longer trigger unnecessary snapshot re-renders when hovering over the Command Log. Fixes [#&#8203;17257](https://github.com/cypress-io/cypress/issues/17257). </details> --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **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. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box. --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
renovate added the
dependencies
label 2021-07-20 01:02:00 +00:00
renovate added 1 commit 2021-07-20 01:02:01 +00:00
continuous-integration/drone/pr Build is passing Details
0fa8d7a31b
Update dependency cypress to v8
konrad merged commit 176c6462bb into main 2021-07-20 07:35:02 +00:00
This repo is archived. You cannot comment on pull requests.
No description provided.