Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependency cypress to v9 #555

Merged
merged 2 commits into from
Nov 14, 2021
Merged

Update dependency cypress to v9 #555

merged 2 commits into from
Nov 14, 2021

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Nov 13, 2021

WhiteSource Renovate

This PR contains the following updates:

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

Release Notes

cypress-io/cypress

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: Renovate will not automatically rebase this PR, because other commits have been found.

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


  • If you want to rebase/retry this PR, click this checkbox.

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

@renovate

This comment has been minimized.

@HonkingGoose
Copy link
Collaborator

@Belco90 Seems we have some peer-dependency problems with the upgrade to Cypress 9, I think we need to wait until the other dependencies say that it's okay to use Cypress 9 with them?

@Belco90
Copy link
Member

Belco90 commented Nov 14, 2021

@Belco90 Seems we have some peer-dependency problems with the upgrade to Cypress 9, I think we need to wait until the other dependencies say that it's okay to use Cypress 9 with them?

That's correct. I'm actually creating a PR myself to update peer dependencies in @testing-library/cypress.

@Belco90
Copy link
Member

Belco90 commented Nov 14, 2021

Oops, it's already created: testing-library/cypress-testing-library#207

We need to wait for that one to be released before being able to merge this PR.

This version adds compatibility with Cypress v9
Copy link
Member

@Belco90 Belco90 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Solved! Pretty convenient being part of the Testing Library org 😎

@HonkingGoose HonkingGoose merged commit 2f48100 into main Nov 14, 2021
@HonkingGoose HonkingGoose deleted the renovate/cypress-9.x branch November 14, 2021 19:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants