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/vue to v6 #109

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented Oct 17, 2023

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@cypress/vue (source) ^4.0.0 -> ^6.0.0 age adoption passing confidence

Release Notes

cypress-io/cypress (@​cypress/vue)

v6.0.1: 6.0.1

Compare Source

Released 11/30/2020

Bugfixes:

  • Chromium based browsers on version 87 will no longer show recorded videos as frozen or blank. Fixes #​9265.
  • We fixed a regression introduced in 5.0.0 that would cause an Option 'sourceMap' cannot be specified with option 'inlineSourceMap' error to throw when setting sourceMap in your tsconfig. Fixes #​8477.
  • cy.screenshot() no longer throws an "offset" is out of range error when Cypress attempts to crop the image. Fixes #​2034.
  • cy.screenshot() types won't mistakenly display the command as deprecated. Fixes #​9303.
  • Lower-cased HTTP methods can now be used with cy.intercept(). Fixes #​9313.

v6.0.0: 6.0.0

Compare Source

Released 11/23/2020

Summary:

Cypress now offers full network stubbing support with the introduction of the cy.intercept() command (previously cy.route2()). With cy.intercept() your tests can intercept, modify and wait on any type of HTTP request originating from your app.

Breaking Changes:

Please read our Migration Guide which explains the changes in more detail and how to change your code to migrate to Cypress 6.0.

  • Cypress now always throws an error when asserting on an element that doesn't exist in the DOM (unless you're asserting that the element should not.exist). Assertions such as not.visible, not.contains, not.have.class, etc will now fail when used on non-existent DOM elements. Addresses #​205.
  • DOM elements where the CSS style (or ancestors) are opacity: 0 are no longer considered visible. However these are still considered actionable and "any action commands" interacting-with-elements#Actionability used to interact with the element will perform the action. This matches browser's implementation on how they regard elements with opacity: 0. Addresses #​4474.
  • The type yielded by cy.wait(alias) has changed in order to support use of cy.intercept(). Addressed in #​9266.
  • The experimentalNetworkStubbing option has been removed and made the default behavior. You can safely removed this configuration option. Addressed in #​9185.
  • When using .type() and .click() on elements inside a contenteditable element, the events are now properly triggered on the inside elements. This may cause unintended consequences if you were relying on the previous behavior. Addressed in #​9066.
  • We removed several deprecation errors around APIs that were removed in versions of Cypress prior to 4.0.0. This will not cause any changes for anyone upgrading from a 4.0+ version of Cypress. For a full list of all APIs affected see #​8946.
  • We updated our HTTP status codes and reason phrases to match Node.js http.STATUS_CODES. If you have code that relies on a reason phrase, then this could affect you. Addressed in #​8969.
  • JSON request and response bodies captured by cy.intercept() are now automatically parsed, removing the need to manually do JSON.parse. Addressed in #​9280.

Deprecations:

Deprecations still work as before but will be removed from Cypress in a future release. We encourage you to update your code now to remove uses of deprecations.

  • cy.server() and cy.route() have been deprecated. In a future release, support for cy.server() and cy.route() will be moved to a plugin. We encourage you to use cy.intercept() instead. Addressed in #​9185.
  • experimentalFetchPolyfill has been deprecated. We encourage you to use cy.intercept() to intercept requests using the Fetch API instead.
  • cy.route2() was renamed to cy.intercept(). We encourage you to update usages of cy.route2() to use cy.intercept(). Addressed in #​9182.

Features:

  • The new cy.intercept() command can be used to manage the behavior of HTTP requests at the network layer. Addressed in #​9182.
  • We now pass —disable-dev-shm-usage to the Chrome browser flags by default. This will write shared memory files into /tmp instead of /dev/shm. If you're passing this flag in your plugins file, you can now remove this code. Addresses #​5336.
  • A warning is now displayed when passing invalid configuration keys through the CLI. Addresses #​428.
  • The cypress version command now also displays the current Electron and bundled Node versions. Addresses #​9180.
  • The cypress version command now accepts a --component flag that allows you to print the version of specific components of Cypress. ie Electron, Node, etc. Addresses #​9214.

Bugfixes:

  • We fixed a regression introduced in 3.5.0 that would cause .type() to not type the entire string when focus was called away from the target element. Fixes #​9254.
  • .type() and .click() now properly work on elements inside a contenteditable element. Fixes #​2717 and #​7721.
  • We fixed a regression introduced in 5.6.0 that would cause the Test Runner to crashes and display a white page when switching tabs while tests are running. Fixes #​9151.
  • Fixed an issue where Content-Length for cy.route2 request bodies could be incorrectly recalculated. Fixes #​9166.

Documentation Changes:

Misc:

  • Added the type of redirects and changed redirectedToUrl optional for Response types. Addresses #​9275.

Dependency Updates

  • Upgraded Chrome browser version used during cypress run and when selecting Electron browser in cypress open from 85 to 87. Addressed in #​9222.
  • Upgraded bundled Node.js version from 12.16.3 to 12.18.3. Addressed in #​9222.
  • Upgraded electron from 10.1.5 to 11.0.2. Addressed in #​9222.

v5.0.5

Compare Source

v5.0.4

Compare Source

v5.0.3

Compare Source

v5.0.2

Compare Source

v5.0.1

Compare Source

v5.0.0: 5.0.0

Compare Source

Released 8/19/2020

Summary:

Cypress now includes support for test retries! Similar to how Cypress will retry assertions when they fail, test retries will allow you to automatically retry a failed test prior to marking it as failed. Read our new guide on Test Retries for more details.

Breaking Changes:

Please read our Migration Guide which explains the changes in more detail and how to change your code to migrate to Cypress 5.0.

  • The cypress-plugin-retries plugin has been deprecated in favor of test retries built into Cypress. Addresses #​1313.
  • The Cypress.Cookies.defaults() whitelist option has been renamed to preserve to more closely reflect its behavior. Addressed in #​7782.
  • The blacklistHosts configuration has been renamed to blockHosts to more closely reflect its behavior. Addressed in #​7622.
  • The cy.server() whitelist option has been renamed to ignore to more closely reflect its behavior. Addresses #​6642.
  • libgbm-dev is now a requirement to run Cypress on Linux. Addressed in #​7791.
  • Values yielded by cy.setCookie(), cy.getCookie(), and cy.getCookies() will now contain the sameSite property if specified. Addresses #​6892.
  • The experimentalGetCookiesSameSite configuration flag has been removed, since this behavior is now the default. Addresses #​6892.
  • The return type of the Cypress.Blob methods arrayBufferToBlob, base64StringToBlob, binaryStringToBlob, and dataURLToBlob have changed from Promise<Blob> to Blob. Addresses #​6001.
  • Cypress no longer supports file paths with a question mark ? in them. We now use the webpack preprocessor by default and it does not support files with question marks. Addressed in #​7982.
  • For TypeScript compilation of spec, support, and plugins files, the esModuleInterop option is no longer coerced to true. If you need to utilize esModuleInterop, set it in your tsconfig.json. Addresses #​7575.
  • Cypress now requires TypeScript 3.4+. Addressed in #​7856.
  • Installing Cypress on your system now requires Node.js 10+. Addresses #​6574.
  • In spec files, the values for the globals __dirname and __filename no longer include leading slashes. Addressed in #​7982.

Features:

  • There's a new retries configuration option to configure the number of times to retry a failing test. Addresses #​1313.
  • .click(), .dblclick(), and .rightclick() now accept options altKey, ctrlKey, metaKey, and shiftKey to hold down key combinations while clicking. Addresses #​486.
  • You can now chain .snapshot() off of cy.stub() and cy.spy() to disabled snapshots during those commands. For example: cy.stub().snapshot(false). Addresses #​3849.

Bugfixes:

  • The error Cannot set property 'err' of undefined will no longer incorrectly throw when rerunning tests in the Test Runner. Fixes #​7874 and #​8193.
  • Cypress will no longer throw a Cannot read property 'isAttached' of undefined error during cypress run on Firefox versions >= 75. Fixes #​6813.
  • The error Maximum call stack size exceeded will no longer throw when calling scrollIntoView on an element in the shadow dom. Fixes #​7986.
  • Cypress environment variables that accept arrays as their value will now properly evaluate as arrays. Fixes #​6810.
  • Elements having display: inline will no longer be considered hidden if it has child elements within it that are visible. Fixes #​6183.
  • When experimentalShadowDomSupport is enabled, .parent() and .parentsUntil() commands now work correctly in shadow dom as well as passing a selector to .parents() when the subject is in the shadow dom. Fixed in #​8202.
  • Screenshots will now be correctly taken when a test fails in an afterEach or beforeEach hook after the hook has already passed. Fixes #​3744.
  • Cypress will no longer report screenshots overwritten in a cy.screenshot() onAfterScreenshot option as a unique screenshot. Fixes #​8079.
  • Taking screenshots will no longer fail when the screenshot names are too long for the filesystem to accept. Fixes #​2403.
  • The "last used browser" will now be correctly remembered during cypress open if a non-default-channel browser was selected. Fixes #​8281.
  • For TypeScript projects, tsconfig.json will now be loaded and used to configure TypeScript compilation of spec and support files. Fixes #​7006 and #​7503.
  • reporterStats now correctly show the number of passed and failed tests when a test passes but the afterEach fails. Fixes #​7730.
  • The Developer Tools menu will now always display in Electron when switching focus from Specs to the Test Runner. Fixes #​3559.

Documentation Changes:

  • We have a new guide on Test Retries.
  • Our Migration Guide has a new section for 5.0 migration.

Misc:

  • Cypress now uses the webpack preprocessor by default to preprocess spec files.
  • The Runs tab within the Test Runner has a new improved design when the project has not been set up or login is required. Addressed in #​8141.
  • The type for the Window object returned from cy.window() is now correct. Addresses #​7856.
  • The type definition for Cypress's ApplicationWindow can now be extended. Addresses #​7856.
  • The type definition for reporterOptions has been added. Addresses #​7877.

Dependency Updates

  • Upgraded Chrome browser version used during cypress run and when selecting Electron browser in cypress open from 80 to 83. Addressed in #​7791.
  • Upgraded bundled Node.js version from 12.8.1 to 12.14.1. Addressed in #​7791.
  • Upgraded chalk from 2.4.2 to 4.1.0. Addressed in #​7650.
  • Upgraded cli-table3 from 0.5.1 to 0.6.0. Addressed in #​7650.
  • Upgraded electron from 8.3.1 to 9.2.0. Addressed in #​7791 and #​8235.
  • Upgraded execa from 1.0.0 to 4.0.2. Addressed in #​7650.
  • Upgraded express from 4.16.4 to 4.17.1. Addressed in #​8179.
  • Upgraded fs-extra from 8.1.0 to 9.0.1. Addressed in #​7650.
  • Upgraded log-symbols from 3.0.0 to 4.0.0. Addressed in #​7650.
  • Upgraded tmp from 0.1.0 to 0.2.1. Addressed in #​7650.

v4.2.2

Compare Source

v4.2.1

Compare Source

v4.2.0: 4.2.0

Compare Source

Released 3/16/2020

Features:

  • Videos can now be recorded when running Electron in --headed mode. Addresses #​1767.
  • cypress cache list now prints the last time the cached binary was accessed for each version present. Addresses #​6682.

Bugfixes:

  • We fixed a regression in 3.8.3 where HTTPS requests could experience slowdown. Fixes #​6659.
  • We now detect some installations of Firefox that were previously undetected. Fixes #​6669.
  • We fixed a race condition where an asynchronous error could fail to be caught when running the plugins file process. Fixes #​6570.
  • We now more thoroughly ensure the parent of an element exists when recursively calling actionability checks in order to prevent some maximum call stack errors. Fixes #​6707.
  • Specfiles containing & or % characters now correctly run instead of erroring. Fixes #​4210.
  • We added support for running tests on Jira plugins even when Jira scripts were not minified. Fixes #​1436.
  • We fixed a bug causing specs to hang after rerunning tests during cypress open when there was an exception if thrown in an after hook. Fixes #​6619.
  • cypress verify no longer incorrectly prints messaging about this being the first time using that Cypress version. Fixes #​6607.
  • Screenshots no longer fail to be taken in Electron when Cypress DEBUG logs are enabled. Fixes #​6662.

Misc:

  • A warning is now printed when setting the reserved key CYPRESS_INTERNAL_ENV to a non-production value. Addresses #​6436.
  • When DEBUG logs are printed from cypress:launcher, they now print a clearer log during browser detection for easier reading. Addresses #​6700.
  • The Test Runner now renders ANSI colors when there is a syntax error in the spec file. Addresses #​6533.
  • The Test Runner now has an icon indicating whether the specs list parent folder is collapsed. Addresses #​6277.
  • There's better type information for .click, .dblclick, and .rightclick command's position argument. Addresses #​6341.
  • There's a more robust type signature for .its() and .invoke(). Addresses #​6431.
  • Using Cypress.dom.isDetached no longer throws a type error in TypeScript projects. Addresses #​4408.
  • Using cy.clearLocalStorage({ log:false }) no longer throws a type error in TypeScript projects. Addresses #​6615.
  • We added types for Cypress.sinon. Addresses #​6720.
  • We've added the foundational work required to support experimental features in the Test Runner. Addresses #​6257.

Dependency Updates

  • Upgraded Chrome browser version used during cypress run and when selecting Electron browser in cypress open from 78 to 80. Addressed in #​6555.
  • Upgraded electron from 7.1.13 to 8.1.1. This bumps the bundled Chromium to 80.0.3987.141 and the bundled Node to 12.13.0. Addressed in #​6555.
  • Upgraded @ffmpeg-installer/ffmpeg from 1.0.19 to 1.0.20. Addressed in #​6686.
  • Upgraded minimist from 1.2.0 to 1.2.2. Addressed in #​6726.
  • Replaced deprecated request with cypress-io/request. Addressed in #​6679.

v4.1.0: 4.1.0

Compare Source

Released 2/28/2020

Features:

  • There is a new cypress info command to see the locally detected browsers and other information related to Cypress. Addresses #​4540.
  • You can now click a 'Try Again' button to recheck if the server at the designated baseUrl is running within the warning message during cypress open. Addresses #​3284.
  • There are "collapse all" and "expand all" links in the Test Runner's "Tests" tab to collapse or expand all folders within the "Integration Tests". Addresses #​6282.
  • The plugins file function's config argument now includes projectRoot (absolute path to the root of the project) and configFile (absolute path to the configuration file). Addresses #​5941.

Bugfixes:

  • Fixed a regression where Cypress could throw a "Maximum call stack size exceeded" error when transmitting a circular object over the internal WebSocket. Fixes #​6582.
  • We fixed an issue where using Chromium-family browsers could cause Cypress to throw a "WebSocket is not open: readyState 3" error under certain conditions. Fixes #​5685.
  • We now more thoroughly ensure the parent of an element exists when recursively calling visibility and existence checks in order to prevent some maximum call stack errors. Fixes #​4373.
  • We fixed an issue where a maximum call stack error would throw in some circumstances when xhr.onreadystatechange is accessed. Fixes #​5864.
  • We fixed a regression in 3.5.0 where typing into an iframe with a body element with the contenteditable attribute would throw an error. Fixes #​5930.
  • We now set the default window size when running Chrome headlessly to 1280x720. Fixes #​6210.
  • We fixed an issue where cypress install would not complete on Node.js 8.0.0. Fixes #​6512 and #​6568.
  • {% url "cy.clearLocalStorage()" clearlocalstorage now properly accepts the log option to disable logging. Fixes #​6342.

Misc:

  • The error messages displayed when rerouting to a non same-origin domain has been updated to more accurately reflect the rules around same-origin policy. Addresses #​6048.
  • We fixed an error message that would display the wrong available browser families during validation. Addressed in #​6517.
  • We fixed some typos in some of our error messages. Addressed in #​6508.
  • We're collecting more environment variables when running Cypress with GitLab CI. Addresses #​6231.
  • The typing of cy.$$ has been updated to distinguish differences between it and Cypress.$. "More info here" $#Cypress-vs-cy Addresses #​2027.
  • We're continuing to make progress in converting our codebase from CoffeeScript to JavaScript. Addresses #​2690 in #​6552, #​6523, and #​6545.

Dependency Updates

  • Upgraded electron from 7.1.10 to 7.1.13. Addressed in #​6566.

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - 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 was generated by Mend Renovate. View the repository job log.

@renovate renovate bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Oct 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants