Skip to content

chore(deps): update dependency cypress to v8 #485

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

Merged
merged 1 commit into from
Aug 16, 2021
Merged

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jul 24, 2021

WhiteSource Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
cypress 7.7.0 -> 8.2.0 age adoption passing confidence

Release Notes

cypress-io/cypress

v8.2.0

Compare Source

Released 08/04/2021

Features:

  • You can now cache and restore cookies,
    localStorage,
    and
    sessionStorage
    in order to reduce test setup times by using
    cy.session(). The session API is experimental and
    can be enabled by setting the
    experimentalSessionSupport flag to true
    in your Cypress config. See
    our blog
    and the cy.session() doc for more detail.
  • The logging experience around HTTP requests has been updated.
    • fetch requests are always displayed in the Command Log, regardless of if
      experimentalFetchSupport is enabled.
    • Duplicate logs for XHRs, fetches, and cy.intercept() have been
      consolidated - Fixes
      #​14843.
    • The user experience around the information displayed in the console when
      clicking on cy.intercept() request logs has been improved.
    • Request logs now indicate if a request has gone to the origin or if it has
      been stubbed by displaying a filled or empty circle in the request log.
    • Request logs now display information about if the request and/or response
      was modified by a cy.intercept().
    • The tooltip displayed when mousing over a request log now displays
      information about the matched cy.intercept()/cy.route() rules.
    • Fixed an issue where pending request logs were not ended between tests.
      Fixes #​14655.
  • There's now a Cypress.currentTest property to access name the currently
    executing test via Cypress.currentTest.title and
    Cypress.currentTest.titlePath. Addresses
    #​2972.

Bugfixes:

  • A "removing cookie failed" error will no longer throw when cookies are cleared
    in Firefox. Fixes #​6375.
  • Cypress no longer throws the error "cannot read property split of undefined"
    in certain circumstances when application errors are thrown. Fixes
    #​17378.
  • Cypress now properly runs the final test when nested in a suite with a
    before hook. Fixes
    #​9026.
  • Fixed a regression in 8.0.0 where an
    error would longer throw when there is no /etc/passwd entry for the current
    user, such as in some Docker and GitHub Action setups. Fixes
    #​17415.
  • Cypress now throws if a function is incorrectly passed as the second argument
    to cy.wait(). Fixes
    #​17436.

v8.1.0

Compare Source

Released 07/29/2021

Features:

  • When using experimentalStudio, you can now generate assertions in
    Cypress Studio by right clicking on an
    element. Addressed in
    #​16295.
  • When searching specs in the Test Runner during end-to-end testing, characters
    that are not letters will be ignored and don't have to be typed. Addressed in
    #​17346.

Performance:

  • The Test Runner's performance has been improved when running a large number of
    commands within a single test. Fixes
    #​6783.

Bugfixes:

  • Add Yarn v2 pnp support to our default webpack processor. Fixes
    #​8008 and
    #​16111.
  • When running Cypress in global mode, an error will no longer be thrown when
    trying to add a new project to the Dashboard. Addressed in
    #​17514.
  • The Test Runner will no longer crash in some instances when creating a new
    spec file from the GUI.
    #​17430.

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: "every weekend" in timezone America/New_York.

🚦 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 WhiteSource Renovate. View repository job log here.

@renovate renovate bot force-pushed the renovate/cypress-8.x branch 4 times, most recently from 4365ebb to df133da Compare July 31, 2021 07:54
@renovate renovate bot force-pushed the renovate/cypress-8.x branch from df133da to e422aa9 Compare August 7, 2021 04:14
@renovate renovate bot force-pushed the renovate/cypress-8.x branch from e422aa9 to 1db7370 Compare August 7, 2021 07:09
@bahmutov bahmutov merged commit f753825 into master Aug 16, 2021
@renovate renovate bot deleted the renovate/cypress-8.x branch August 16, 2021 12:56
@bahmutov
Copy link
Contributor

🎉 This PR is included in version 3.9.11 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants