chore(deps): update dependency cypress to v9 #1176

Merged
dpschen merged 1 commits from renovate/cypress-9.x into main 2021-12-12 13:28:30 +00:00
Member

This PR contains the following updates:

Package Type Update Change
cypress devDependencies major 8.7.0 -> 9.1.1

Release Notes

cypress-io/cypress

v9.1.1

Compare Source

Released 12/03/2021

Bugfixes:

  • Fixed a regression in 9.1.0 where our
    built binary didn't contain patches to some dependencies. Addressed in
    #​19239. This fixed some
    issues including:
    • Requests containing ~ will no longer be improperly encoded. Fixes
      #​19083,
      #​19084,
      #​19115,
      #​19096,
      #​19178.
    • A TypeError displaying data.hasOwnProperty is not a function will no
      longer throw in some situations. Fixes
      #​19091.
    • Empty extra hooks will no longer be sent as data when recording to the
      Dashboard. Fixes
      #​19087.
    • The Runner hanging when baseUrl is set to null to load a local file. Fixes
      #​19105
  • When using the default configuration of "nodeVersion": "system" with an
    installed system node >=17, Cypress will now work properly rather than throw
    an error incorrectly pointing to the user's plugin file. Fixes
    #​18914.
  • Shadow DOM elements no longer error as hidden during actionability when the
    element is covered by its parent shadow root. Fixes
    #​18008.
  • When using .type() events now correctly propagate out of the shadow DOM.
    Fixes #​17531.
  • The this context is now properly preserved when overwriting cy.clock().
    Fixes #​19158.

Dependencies:

  • Upgraded @cypress/request from 2.88.7 to 2.88.10. Addressed in
    #​19099.

v9.1.0

Compare Source

Released 11/22/2021

Features:

  • A CYPRESS environment variable will be set to true in child processes where
    Cypress runs user code in Node.js. You can now detect that you're running in
    Cypress by looking for process.env.CYPRESS. Addresses
    #​18805.

Bugfixes:

  • Specs with % in the filename will no longer fail to load and now behave as any
    other spec. Fixes
    #​18871.
  • When using the Selector Playground, the HTML attribute's value will be wrapped
    in double-quotes. Fixes
    #​1884.
  • The call count is now shown in the Command Log when using
    cy.stub().log(false). Fixes
    #​18907.
  • The warning message for retrying connection to a browser has been improved to
    indicate when it is still waiting. Fixes
    #​18644.
  • Cypress commands that rely on this context now have access to this when
    overridden. Fixes #​18899.

v9.0.0

Compare Source

Released 11/10/2021

Breaking Changes:

  • The nodeVersion configuration option now defaults to system. The behavior
    of the system option has changed to always use the Node.js binary/version
    that launched Cypress. If Cypress was not launched via the terminal, Cypress
    will use the bundled Node.js version. This could change the behavior of code
    within your pluginsFile since it may be run in your system Node.js
    version. Addresses
    #​18684.
  • Windows 32-bit is no longer supported in Cypress. Addresses
    #​17962.
  • An error will now be thrown if an invalid value is passed to Cypress.config.
    Previously invalid values were ignored and could cause unexpected behavior.
    Addresses #​18589.
  • cy.contains() no longer yields the <body> element when it matches the
    content of <script> or <style> tags. Addresses
    #​14861.
  • Attempting to add an existing built-in Cypress command using
    Cypress.Commands.add() will now throw an error, indicating that
    Cypress.Commands.overwrite() should be used instead to overwrite the
    behavior of existing commands. Addresses
    #​18572.
  • Custom command implementations are now typed based on the declared custom
    chainables. Addresses
    #​17496.
  • The bundled Node.js version was upgraded from 14.17.0 to 16.5.0. This
    could change the behavior of code within the pluginsFile when using the
    bundled Node.js version of Cypress. Addressed in
    #​18317.

Deprecations:

  • The nodeVersion configuration option has been deprecated and will be removed
    in a future release.

Features:

  • When null is passed as the encoding to cy.readFile() or cy.fixture(),
    the file is treated as binary and read as a Buffer. Similarly, null passed
    as the encoding to cy.writeFile() allows direct writing of buffers. If the
    encoding is unspecified, the default remains utf8, matching the current
    behavior. Addresses
    #​18534.

Bugfixes:

  • Sticky elements within a fixed container will now be able to be properly
    scrolled to during action commands. Fixes
    #​4233.
  • document.referrer will now correctly reflect the correct value from the
    application under test after cy.visit(). Fixes
    #​4295.

Dependencies:

  • Upgraded Chrome browser version used during cypress run and when selecting
    Electron browser in cypress open from 91 to 94. Addressed in
    #​15292.
  • Upgraded bundled Node.js version from 14.17.0 to 16.5.0. Addressed in
    #​15292.
  • Upgraded electron from 14.1.0 to 15.2.0. Addressed in
    #​15292.

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 | [`8.7.0` -> `9.1.1`](https://renovatebot.com/diffs/npm/cypress/8.7.0/9.1.1) | --- ### Release Notes <details> <summary>cypress-io/cypress</summary> ### [`v9.1.1`](https://github.com/cypress-io/cypress/releases/v9.1.1) [Compare Source](https://github.com/cypress-io/cypress/compare/v9.1.0...v9.1.1) *Released 12/03/2021* **Bugfixes:** - Fixed a regression in [9.1.0](https://docs.cypress.io/guides/references/changelog#&#8203;9-1-0) where our built binary didn't contain patches to some dependencies. Addressed in [#&#8203;19239](https://github.com/cypress-io/cypress/pull/19239). This fixed some issues including: - Requests containing `~` will no longer be improperly encoded. Fixes [#&#8203;19083](https://github.com/cypress-io/cypress/issues/19083), [#&#8203;19084](https://github.com/cypress-io/cypress/issues/19084), [#&#8203;19115](https://github.com/cypress-io/cypress/issues/19115), [#&#8203;19096](https://github.com/cypress-io/cypress/issues/19096), [#&#8203;19178](https://github.com/cypress-io/cypress/issues/19178). - A TypeError displaying `data.hasOwnProperty is not a function` will no longer throw in some situations. Fixes [#&#8203;19091](https://github.com/cypress-io/cypress/issues/19091). - Empty extra hooks will no longer be sent as data when recording to the Dashboard. Fixes [#&#8203;19087](https://github.com/cypress-io/cypress/issues/19087). - The Runner hanging when baseUrl is set to null to load a local file. Fixes [#&#8203;19105](https://github.com/cypress-io/cypress/issues/19105) - When using the default configuration of `"nodeVersion": "system"` with an installed system node >=17, Cypress will now work properly rather than throw an error incorrectly pointing to the user's plugin file. Fixes [#&#8203;18914](https://github.com/cypress-io/cypress/issues/18914). - Shadow DOM elements no longer error as hidden during actionability when the element is covered by its parent shadow root. Fixes [#&#8203;18008](https://github.com/cypress-io/cypress/issues/18008). - When using `.type()` events now correctly propagate out of the shadow DOM. Fixes [#&#8203;17531](https://github.com/cypress-io/cypress/issues/17531). - The `this` context is now properly preserved when overwriting `cy.clock()`. Fixes [#&#8203;19158](https://github.com/cypress-io/cypress/issues/19158). **Dependencies:** - Upgraded `@cypress/request` from `2.88.7` to `2.88.10`. Addressed in [#&#8203;19099](https://github.com/cypress-io/cypress/issues/19099). ### [`v9.1.0`](https://github.com/cypress-io/cypress/releases/v9.1.0) [Compare Source](https://github.com/cypress-io/cypress/compare/v9.0.0...v9.1.0) *Released 11/22/2021* **Features:** - A `CYPRESS` environment variable will be set to true in child processes where Cypress runs user code in Node.js. You can now detect that you're running in Cypress by looking for `process.env.CYPRESS`. Addresses [#&#8203;18805](https://github.com/cypress-io/cypress/issues/18805). **Bugfixes:** - Specs with % in the filename will no longer fail to load and now behave as any other spec. Fixes [#&#8203;18871](https://github.com/cypress-io/cypress/issues/18871). - When using the Selector Playground, the HTML attribute's value will be wrapped in double-quotes. Fixes [#&#8203;1884](https://github.com/cypress-io/cypress/issues/1884). - The call count is now shown in the Command Log when using `cy.stub().log(false)`. Fixes [#&#8203;18907](https://github.com/cypress-io/cypress/issues/18907). - The warning message for retrying connection to a browser has been improved to indicate when it is still waiting. Fixes [#&#8203;18644](https://github.com/cypress-io/cypress/issues/18644). - Cypress commands that rely on `this` context now have access to `this` when overridden. Fixes [#&#8203;18899](https://github.com/cypress-io/cypress/pull/18899). ### [`v9.0.0`](https://github.com/cypress-io/cypress/releases/v9.0.0) [Compare Source](https://github.com/cypress-io/cypress/compare/v8.7.0...v9.0.0) *Released 11/10/2021* **Breaking Changes:** - The `nodeVersion` configuration option now defaults to `system`. The behavior of the `system` option has changed to always use the Node.js binary/version that launched Cypress. If Cypress was not launched via the terminal, Cypress will use the `bundled` Node.js version. This could change the behavior of code within your `pluginsFile` since it may be run in your `system` Node.js version. Addresses [#&#8203;18684](https://github.com/cypress-io/cypress/issues/18684). - Windows 32-bit is no longer supported in Cypress. Addresses [#&#8203;17962](https://github.com/cypress-io/cypress/issues/17962). - An error will now be thrown if an invalid value is passed to `Cypress.config`. Previously invalid values were ignored and could cause unexpected behavior. Addresses [#&#8203;18589](https://github.com/cypress-io/cypress/pull/18589). - `cy.contains()` no longer yields the `<body>` element when it matches the content of `<script>` or `<style>` tags. Addresses [#&#8203;14861](https://github.com/cypress-io/cypress/issues/14861). - Attempting to add an existing built-in Cypress command using `Cypress.Commands.add()` will now throw an error, indicating that `Cypress.Commands.overwrite()` should be used instead to overwrite the behavior of existing commands. Addresses [#&#8203;18572](https://github.com/cypress-io/cypress/issues/18572). - Custom command implementations are now typed based on the declared custom chainables. Addresses [#&#8203;17496](https://github.com/cypress-io/cypress/issues/17496). - The bundled Node.js version was upgraded from `14.17.0` to `16.5.0`. This could change the behavior of code within the `pluginsFile` when using the bundled Node.js version of Cypress. Addressed in [#&#8203;18317](https://github.com/cypress-io/cypress/pull/18317). **Deprecations:** - The `nodeVersion` configuration option has been deprecated and will be removed in a future release. **Features:** - When `null` is passed as the encoding to `cy.readFile()` or `cy.fixture()`, the file is treated as binary and read as a Buffer. Similarly, `null` passed as the encoding to `cy.writeFile()` allows direct writing of buffers. If the encoding is unspecified, the default remains `utf8`, matching the current behavior. Addresses [#&#8203;18534](https://github.com/cypress-io/cypress/issues/18534). **Bugfixes:** - Sticky elements within a fixed container will now be able to be properly scrolled to during action commands. Fixes [#&#8203;4233](https://github.com/cypress-io/cypress/issues/4233). - `document.referrer` will now correctly reflect the correct value from the application under test after `cy.visit()`. Fixes [#&#8203;4295](https://github.com/cypress-io/cypress/issues/4295). **Dependencies:** - Upgraded Chrome browser version used during `cypress run` and when selecting Electron browser in `cypress open` from `91` to `94`. Addressed in [#&#8203;15292](https://github.com/cypress-io/cypress/pull/18317). - Upgraded bundled Node.js version from `14.17.0` to `16.5.0`. Addressed in [#&#8203;15292](https://github.com/cypress-io/cypress/pull/18317). - Upgraded `electron` from `14.1.0` to `15.2.0`. Addressed in [#&#8203;15292](https://github.com/cypress-io/cypress/pull/18317). </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-11 16:04:12 +00:00
renovate added 1 commit 2021-12-11 16:04:13 +00:00
chore(deps): update dependency cypress to v9
All checks were successful
continuous-integration/drone/pr Build is passing
f3d9d04b6b
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://1176-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://1176-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.
Owner

@dpschen Do you know if we can upgrade this?

@dpschen Do you know if we can upgrade this?
dpschen approved these changes 2021-12-12 13:28:13 +00:00
dpschen merged commit b03d5d80cd into main 2021-12-12 13:28:30 +00:00
dpschen deleted branch renovate/cypress-9.x 2021-12-12 13:28:30 +00:00
Member

Works now 🥳

Works now 🥳
This repo is archived. You cannot comment on pull requests.
No description provided.