cypress-io / testing-workshop-cypress

End-to-end testing workshop with Cypress
https://testing-workshop-cypress.netlify.app/
481 stars 189 forks source link

Update dependency cypress to v7.6.0 #266

Closed renovate[bot] closed 3 years ago

renovate[bot] commented 3 years ago

WhiteSource Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
cypress 7.3.0 -> 7.6.0 age adoption passing confidence

Release Notes

cypress-io/cypress ### [`v7.6.0`](https://togithub.com/cypress-io/cypress/releases/v7.6.0) [Compare Source](https://togithub.com/cypress-io/cypress/compare/v7.5.0...v7.6.0) *Released 06/23/2021* **Features:** - You can now override the default delay between typing characters for `.type()` with [`Cypress.Keyboard.defaults()`](https://on.cypress.io/keyboard-api) or via [test configuration](https://on.cypress.io/writing-and-organizing-tests#Allowed-config-values). Addresses [#​566](https://togithub.com/cypress-io/cypress/issues/566). - The experience when opening a new project via `cypress open` has been improved. Addressed in [#​15826](https://togithub.com/cypress-io/cypress/pull/15826). - The scaffolded example files have been updated to include examples tests of the TodoMVC project. - You can now easily delete all of the scaffolded example files directly from the Test Runner GUI. - There's now a button to create a new spec file when no spec files are found in the project. - A new onboarding banner with be present with helpful links for new users and new projects. - The incoming request object yielded to request handler functions passed to `cy.intercept()` (`req`) now has a `req.query` property, which is a getter/setter for the query parameters on the request URL. Addresses [#​16327](https://togithub.com/cypress-io/cypress/issues/16327). - You can now pass an `ArrayBuffer` as a request / response body with `cy.intercept()`. Addresses [#​16722](https://togithub.com/cypress-io/cypress/issues/16722) **Bugfixes:** - Cypress no longer hangs intermittently when using webpack 5. Fixes [#​15447](https://togithub.com/cypress-io/cypress/issues/15447). - It is no longer necessary to return the config from the plugins function when using the `dev-server:start` event for component testing. Fixes [#​16860](https://togithub.com/cypress-io/cypress/issues/16860). - `cy.intercept()` now correctly sets the response body as a string instead of an ArrayBuffer when it contains multi-byte characters. Fixes [#​16292](https://togithub.com/cypress-io/cypress/issues/16292). - `cy.intercept()` won't corrupt certain binary responses. Fixes [#​16722](https://togithub.com/cypress-io/cypress/issues/16722). - On Windows, the Cypress executable is now code signed by "Cypress.io, Inc.". This fixes `spawn UNKNOWN` errors when launching Cypress with code signing required by policy on Windows. Fixes [#​2543](https://togithub.com/cypress-io/cypress/issues/2543) - We now warn on `EPERM` errors when accessing the project directory instead of erroring. Fixes [#​16933](https://togithub.com/cypress-io/cypress/issues/16933). - Cypress now better handles running when browsers with unconventional versions are present on the machine. Fixes [#​15485](https://togithub.com/cypress-io/cypress/issues/15485). - Expanded the types for `CyHttpMessages.BaseMessage.headers` to support the value being an array of strings. Fixes [#​16734](https://togithub.com/cypress-io/cypress/issues/16734). **Dependency Updates:** - Added `enquirer` dependency. Fixes [#​16846](https://togithub.com/cypress-io/cypress/issues/16846). ### [`v7.5.0`](https://togithub.com/cypress-io/cypress/releases/v7.5.0) [Compare Source](https://togithub.com/cypress-io/cypress/compare/v7.4.0...v7.5.0) *Released 06/07/2021* **Features:** - The Test Runner has a new 'Docs' menu with links and prompts specific to helping you get started writing tests, set up in CI, and running tests in the Dashboard. Addressed in [#​16433](https://togithub.com/cypress-io/cypress/pull/16433). - `cy.request()` now accepts a generic in TypeScript for specifying the type of the request body. Addresses [#​9109](https://togithub.com/cypress-io/cypress/issues/9109). **Bugfixes:** - Cypress will not longer crash with a `hasBinary` infinite recursive call. Fixes [#​16476](https://togithub.com/cypress-io/cypress/issues/16476). - The `--config-file` option now correctly handles absolute paths. Fixes [#​6136](https://togithub.com/cypress-io/cypress/issues/6136). - `cy.location()` will now retry if the remote location returns an empty string, which is possible during otherwise harmless redirects. Fixes [#​16463](https://togithub.com/cypress-io/cypress/issues/16463). - Cypress now passes a flag to Chrome browsers to prevent update notifications from displaying in some cases. Fixes [#​16693](https://togithub.com/cypress-io/cypress/issues/16693). - TypeScript will now properly error when attempting to use the chai `.should()` syntax. Fixes [#​16548](https://togithub.com/cypress-io/cypress/issues/16548). **Dependency Updates:** - Replaced deprecated `listr` with `listr2`. Addressed in [#​16663](https://togithub.com/cypress-io/cypress/pull/16663). ### [`v7.4.0`](https://togithub.com/cypress-io/cypress/releases/v7.4.0) [Compare Source](https://togithub.com/cypress-io/cypress/compare/v7.3.0...v7.4.0) *Released 05/24/2021* **Features:** - Cypress now detects and supports testing in the Chrome Beta browser. Addresses [#​16376](https://togithub.com/cypress-io/cypress/issues/16376). - There are new keyboard shortcuts to continue (c) and to go to the next test (n) when the Test Runner is paused via `.pause()` and to toggle auto-scrolling of the Test Runner (a). Addresses [#​248](https://togithub.com/cypress-io/cypress/issues/248). **Bugfixes:** - [`cy.request()`](/api/commands/request) can now send binary files in form data. Fixes [#​1647](https://togithub.com/cypress-io/cypress/issues/1647). - [`cy.request()`](/api/commands/request) can now send blob data. Fixes [#​6178](https://togithub.com/cypress-io/cypress/issues/6178). - Fixed an issue where [`cy.wait()`](/api/commands/wait) could yield the incorrect result when used with [`cy.intercept()`](/api/commands/intercept) and several simultaneous requests. Fixes [#​16451](https://togithub.com/cypress-io/cypress/issues/16451). - Improved the way that [`cy.intercept()`](/api/commands/intercept) matchers are displayed in the Command Log when using `RouteMatcher` properties besides `url` and `method`. Fixes [#​9403](https://togithub.com/cypress-io/cypress/issues/9403). - [`cy.intercept()`](/api/commands/intercept) argument validation has been improved. Invalid hostnames and extra arguments passed to `cy.intercept()` now result in an error. Addressed in [#​16577](https://togithub.com/cypress-io/cypress/issues/16577). - [`cy.screenshot()`](/api/commands/screenshot) no longer incorrectly captures parts of the Test Runner UI during component testing. Fixes [#​16543](https://togithub.com/cypress-io/cypress/issues/16543). - Spec files that containing spaces in the path will now properly open during `cypress open-ct`. Fixes [#​16278](https://togithub.com/cypress-io/cypress/issues/16278). - Cypress now correctly uses the `componentFolder` and `testFiles` values from returned from plugins in the component testing runner. Fixes [#​16424](https://togithub.com/cypress-io/cypress/issues/16424). - Video recordings in Chrome, Chromium, and Electron browsers will no longer drop frames, with the frequency increasing along with the length of the video. Fixes [#​16648](https://togithub.com/cypress-io/cypress/issues/16648). - Tests located outside of the `projectRoot` will now open in IDE and generate studio commands when saved. Fixes [#​16255](https://togithub.com/cypress-io/cypress/issues/16255). - `config` in the plugins file will now display in alphabetical order. Fixes [#​16564](https://togithub.com/cypress-io/cypress/issues/16564). **Dependency Updates:** - Upgraded `dependency-tree` from `7.0.2` to `8.1.0`. Addressed in [#​16464](https://togithub.com/cypress-io/cypress/issues/16464). - Upgraded `extract-zip` from `1.7.0` to `2.0.1`. Fixes [#​6896](https://togithub.com/cypress-io/cypress/issues/6896)

Configuration

📅 Schedule: "every weekend" in timezone America/New_York.

🚦 Automerge: Enabled.

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.



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