chore(deps): update dependency cypress to v9.2.0 #1232

Merged
konrad merged 1 commits from renovate/cypress-9.x into main 2021-12-22 10:11:16 +00:00
Member

This PR contains the following updates:

Package Type Update Change
cypress devDependencies minor 9.1.1 -> 9.2.0

Release Notes

cypress-io/cypress

v9.2.0

Compare Source

Released 12/20/2021

Features:

  • Cypress will throw an error when a user attempts to update a configuration
    value at run-time using either the Test Configuration or using
    Cypress.config() that is a
    readonly option.
    Addresses #​6407 and
    #​19001.
  • A timeout option has been added to the cy.writeFile() command, with a
    default value of defaultCommandTimeout. Addresses
    #​3350.
  • The default maxHttpBufferSize for the internal socket server has been
    increased to
    Node's maximum Buffer size
    (size varies by OS) to allow large file writes with cy.writeFile().
    Addresses #​19140.
  • Add CYPRESS_VERIFY_TIMEOUT environment variable to override the timeout
    duration of the verify command. Addresses
    #​18290.

Bugfixes:

  • Prevent unnecessary snapshotting when running default assertions that would
    unnecessarily increase CPU use in cypress open mode which lead to out of
    memory crashes on certain browsers. Fixes
    #​18549.
  • Removed automatic retries for failed HTTP requests through the proxy. This
    fixes an issue where failed requests could be re-sent too many times in some
    conditions. This change could increase the number of failed requests that your
    app sees. Fixes #​19043.
  • Reduced the occurrence of an issue where logs for fetch and xhr requests
    could be associated with the wrong request. Fixes
    #​19043.
  • Tests that are skipped within then blocks will no longer throw errors
    causing the test to fail. Tests that are skipped outside of then blocks will
    no longer trigger the fail event. This will prevent screenshots from happening
    from errors thrown by the fail event.Fixes
    #​14867 and
    #​17660.
  • Fixed a regression in 9.0.0 where a
    fixture provided in a static response to cy.intercept() did not support
    passing null to encoding to read the fixture as a Buffer. This identified an
    undocumented 9.0.0 Breaking Change where the default read behavior of a
    fixture changed from a Buffer to being read with utf8 encoding. Fixes
    #​19344.
  • Fixed a regression in 9.0.0 where
    cy.contains() attempted to ignore <script> and <style> elements found
    within <body>. by deleting them from the dom. This behavior was corrected to
    ignore the elements without deleting them. Fixes
    #​19377.
  • Cypress will no longer crash when proxying an ill formed request. For example,
    if the application under test has a resource of "http: //localhost/asset.js"
    (notice the extraneous space), Cypress will now log a debug message and the
    asset will fail to load. Fixes
    #​9220.
  • Correct Cypress.Command.add() and Cypress.Command.override() TypeScript
    types. Fixes #​18879,
    #​19095 and
    #​18940.
    • Custom command implementations typings take into account prevSubject
      variants.
    • Custom command implementations now allows to NOT return a value.
    • Custom command overwrites typings take into account originalFn function.
  • Add types for Cypress.session.clearAllSavedSessions(). Fixes
    #​19363.

Dependencies:


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 | minor | [`9.1.1` -> `9.2.0`](https://renovatebot.com/diffs/npm/cypress/9.1.1/9.2.0) | --- ### Release Notes <details> <summary>cypress-io/cypress</summary> ### [`v9.2.0`](https://github.com/cypress-io/cypress/releases/v9.2.0) [Compare Source](https://github.com/cypress-io/cypress/compare/v9.1.1...v9.2.0) *Released 12/20/2021* **Features:** - Cypress will throw an error when a user attempts to update a configuration value at run-time using either the Test Configuration or using `Cypress.config()` that is a [readonly option](https://docs.cypress.io/guides/references/configuration#Test-Configuration). Addresses [#&#8203;6407](https://github.com/cypress-io/cypress/issues/6407) and [#&#8203;19001](https://github.com/cypress-io/cypress/issues/19001). - A `timeout` option has been added to the `cy.writeFile()` command, with a default value of `defaultCommandTimeout`. Addresses [#&#8203;3350](https://github.com/cypress-io/cypress/issues/3350). - The default `maxHttpBufferSize` for the internal socket server has been increased to [Node's maximum Buffer size](https://nodejs.org/api/buffer.html#bufferconstantsmax_length) (size varies by OS) to allow large file writes with `cy.writeFile()`. Addresses [#&#8203;19140](https://github.com/cypress-io/cypress/issues/19140). - Add `CYPRESS_VERIFY_TIMEOUT` environment variable to override the timeout duration of the `verify` command. Addresses [#&#8203;18290](https://github.com/cypress-io/cypress/issues/18290). **Bugfixes:** - Prevent unnecessary snapshotting when running default assertions that would unnecessarily increase CPU use in `cypress open` mode which lead to out of memory crashes on certain browsers. Fixes [#&#8203;18549](https://github.com/cypress-io/cypress/issues/18549). - Removed automatic retries for failed HTTP requests through the proxy. This fixes an issue where failed requests could be re-sent too many times in some conditions. This change could increase the number of failed requests that your app sees. Fixes [#&#8203;19043](https://github.com/cypress-io/cypress/issues/19043). - Reduced the occurrence of an issue where logs for `fetch` and `xhr` requests could be associated with the wrong request. Fixes [#&#8203;19043](https://github.com/cypress-io/cypress/issues/19043). - Tests that are skipped within `then` blocks will no longer throw errors causing the test to fail. Tests that are skipped outside of `then` blocks will no longer trigger the fail event. This will prevent screenshots from happening from errors thrown by the fail event.Fixes [#&#8203;14867](https://github.com/cypress-io/cypress/issues/14867) and [#&#8203;17660](https://github.com/cypress-io/cypress/issues/17660). - Fixed a regression in [9.0.0](https://docs.cypress.io/guides/references/changelog#&#8203;9-0-0) where a fixture provided in a static response to `cy.intercept()` did not support passing `null` to encoding to read the fixture as a Buffer. This identified an undocumented 9.0.0 Breaking Change where the default read behavior of a fixture changed from a Buffer to being read with `utf8` encoding. Fixes [#&#8203;19344](https://github.com/cypress-io/cypress/issues/19344). - Fixed a regression in [9.0.0](https://docs.cypress.io/guides/references/changelog#&#8203;9-0-0) where `cy.contains()` attempted to ignore `<script>` and `<style>` elements found within `<body>`. by deleting them from the dom. This behavior was corrected to ignore the elements without deleting them. Fixes [#&#8203;19377](https://github.com/cypress-io/cypress/issues/19377). - Cypress will no longer crash when proxying an ill formed request. For example, if the application under test has a resource of `"http: //localhost/asset.js"` (notice the extraneous space), Cypress will now log a debug message and the asset will fail to load. Fixes [#&#8203;9220](https://github.com/cypress-io/cypress/issues/9220). - Correct `Cypress.Command.add()` and `Cypress.Command.override()` TypeScript types. Fixes [#&#8203;18879](https://github.com/cypress-io/cypress/issues/18879), [#&#8203;19095](https://github.com/cypress-io/cypress/issues/19095) and [#&#8203;18940](https://github.com/cypress-io/cypress/issues/18940). - Custom command implementations typings take into account `prevSubject` variants. - Custom command implementations now allows to NOT return a value. - Custom command overwrites typings take into account `originalFn` function. - Add types for `Cypress.session.clearAllSavedSessions()`. Fixes [#&#8203;19363](https://github.com/cypress-io/cypress/issues/19363). **Dependencies:** - Upgraded `ssri` from `6.0.1` to `6.0.2` to mitigate [ssri vulnerability](snyk.io/vuln/npm:ssri@6.0.1). Addressed in [#&#8203;19351](https://github.com/cypress-io/cypress/issues/19351). </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-12-21 17:02:45 +00:00
Member

Hi renovate!

Thank you for creating a PR!

I've deployed the changes of this PR on a preview environment under this URL: https://1232-renovatecypress-9.x--vikunja-frontend-preview.netlify.app

You can use this url to view the changes live and test them out.
You will need to manually connect this to an api running somehwere. The easiest to use is https://try.vikunja.io/.

Have a nice day!

Beep boop, I'm a bot.

Hi renovate! Thank you for creating a PR! I've deployed the changes of this PR on a preview environment under this URL: https://1232-renovatecypress-9.x--vikunja-frontend-preview.netlify.app You can use this url to view the changes live and test them out. You will need to manually connect this to an api running somehwere. The easiest to use is https://try.vikunja.io/. Have a nice day! > Beep boop, I'm a bot.
renovate force-pushed renovate/cypress-9.x from 28bde774b4 to 2e7ac90bbb 2021-12-22 09:03:14 +00:00 Compare
konrad merged commit 70f8d46b6c into main 2021-12-22 10:11:16 +00:00
konrad deleted branch renovate/cypress-9.x 2021-12-22 10:11:16 +00:00
This repo is archived. You cannot comment on pull requests.
No description provided.