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

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

Merged
merged 2 commits into from
Jan 19, 2022
Merged

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jan 15, 2022

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.2.1

Compare Source

Released 1/10/2022

Bugfixes:

  • Fixed a regression in 9.2.0 to keep
    Cypress open after each spec finishes when the --headed --no-exit flags are
    passed to cypress run. Fixes
    #​19485.
  • Improve heuristic for verifying when the --openssl-legacy-provider option
    should be passed to the plugins' child process when the system Node version is
    v17+. This prevents Cypress from crashing when a user has Node 17 installed
    which was built with OpenSSL v1. Fixes
    #​19320.
  • Correctly cast the CYPRESS_VERIFY_TIMEOUT environment variable as a number
    so Cypress will no longer throw
    TypeError: Expected the timeout option to be a non-negative integer. Fixes
    #​19476.

Dependency Updates:

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:

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: "every weekend" (UTC).

🚦 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 renovate bot requested a review from a team as a code owner January 15, 2022 09:53
@ibmdotcom-bot
Copy link
Contributor

ibmdotcom-bot commented Jan 15, 2022

@ibmdotcom-bot
Copy link
Contributor

ibmdotcom-bot commented Jan 15, 2022

@ibmdotcom-bot
Copy link
Contributor

ibmdotcom-bot commented Jan 15, 2022

@ibmdotcom-bot
Copy link
Contributor

ibmdotcom-bot commented Jan 15, 2022

@ibmdotcom-bot
Copy link
Contributor

ibmdotcom-bot commented Jan 15, 2022

@ibmdotcom-bot
Copy link
Contributor

Deploy preview created for package "Web Components (Codesandbox Examples)":
https://webcomponents-codesandbox.s3-web.us-east.cloud-object-storage.appdomain.cloud/deploy-previews/8045/index.html

Built with commit: a4b20aab8f99971c3c4246c3e79d37417a8346cf

@ibmdotcom-bot
Copy link
Contributor

ibmdotcom-bot commented Jan 15, 2022

Deploy preview created for package "React (Codesandbox Examples)":
https://react-codesandbox.s3-web.us-east.cloud-object-storage.appdomain.cloud/deploy-previews/8045/index.html

Built with commit: 560925c7f50c5d48982c6d97029b4f12e95b7f57

@jeffchew jeffchew added Ready to merge Label for the pull requests that are ready to merge and removed Ready to merge Label for the pull requests that are ready to merge labels Jan 18, 2022
@kodiakhq kodiakhq bot merged commit 86e8b9f into main Jan 19, 2022
@kodiakhq kodiakhq bot deleted the renovate/cypress-9.x branch January 19, 2022 01:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Ready to merge Label for the pull requests that are ready to merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants