VictorWinberg / webbuilder

Webbuilder™
1 stars 0 forks source link

Update dependency cypress to v7 - autoclosed #223

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 3.8.3 -> 7.7.0 age adoption passing confidence

Release Notes

cypress-io/cypress ### [`v7.7.0`](https://togithub.com/cypress-io/cypress/releases/v7.7.0) [Compare Source](https://togithub.com/cypress-io/cypress/compare/v7.6.0...v7.7.0) *Released 07/07/2021* **Features:** - When using `experimentalStudio`, [Cypress Studio](https://docs.cypress.io/guides/core-concepts/cypress-studio) can now copy all commands generated to your clipboard. Addressed in [#​16912](https://togithub.com/cypress-io/cypress/issues/16912). **Bugfixes:** - Cypress now respects `preventScroll` options passed to `element.focus()` calls within the application under test. Fixes [#​15294](https://togithub.com/cypress-io/cypress/issues/15294). - Using `.contains(0)` will now show the zero in the Command Log. Fixes [#​1119](https://togithub.com/cypress-io/cypress/issues/1119). - Cypress will no longer show a warning about allowed keys for the `showedOnBoardingModal` when running `cypress open`. Fixes [#​17095](https://togithub.com/cypress-io/cypress/issues/17095). - The Cypress Studio introduction modal will now display with the correct styling. Fixes [#​17102](https://togithub.com/cypress-io/cypress/issues/17102). - The types for `.contains()` now correctly allow for the `includeShadowDom` option. Fixes [#​17066](https://togithub.com/cypress-io/cypress/issues/17066). **Misc:** - We updated the messaging when Cypress fails to start to be clearer that it's not always due to a dependency missing. Addresses [#​17112](https://togithub.com/cypress-io/cypress/pull/17112). ### [`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) ### [`v7.3.0`](https://togithub.com/cypress-io/cypress/releases/v7.3.0) [Compare Source](https://togithub.com/cypress-io/cypress/compare/v7.2.0...v7.3.0) *Released 05/10/2021* **Features:** - Component tests can now be launched via the [Module API](/guides/guides/module-api) by passing `testingType: 'component'` via the new `testingType` property. The `testingType` will default to `e2e`. Addresses [#​16302](https://togithub.com/cypress-io/cypress/issues/16302). - `cy.intercept()` now accepts a `times` option in the `RouteMatcher`. `times` will specify the number of times that a particular `cy.intercept()` should be applied. Addresses [#​4460](https://togithub.com/cypress-io/cypress/issues/4460) and [#​8531](https://togithub.com/cypress-io/cypress/issues/8531). - `cy.intercept()` now accepts invocation using `cy.intercept(url, routeMatcher, handler)`, where `url` is a regular expression. Previously, this only worked if `url` was a string. Addresses [#​16390](https://togithub.com/cypress-io/cypress/issues/16390). - Cypress will now automatically get environment variables for LayerCI when recording to the Dashboard. Addresses [#​16101](https://togithub.com/cypress-io/cypress/issues/16101). - Setting the env var `DEBUG=cypress:server:record:ci-info` will print commit information and CI provider information that's sent to the Dashboard as debug logs. Addresses [#​16236](https://togithub.com/cypress-io/cypress/issues/16236). - Cypress can now use the certificate authority specified in NPM config if `CYPRESS_DOWNLOAD_USE_CA` is specified. See ["Using a custom CA"](/guides/getting-started/installing-cypress#Using-a-custom-CA) for more information. Addresses [#​8825](https://togithub.com/cypress-io/cypress/issues/8825). **Bugfixes:** - Cypress will no longer incorrectly redirect the AUT window to `/__/` when `location.href` is set to a relative path within the call stack of an XHR event handler. Fixes [#​3975](https://togithub.com/cypress-io/cypress/issues/3975) and [#​7439](https://togithub.com/cypress-io/cypress/issues/7439). - Cypress now properly handles when a form submit or anchor tag target is set to `_top` or `_parent` so that it no longer redirects the parent frame. Fixes [#​1244](https://togithub.com/cypress-io/cypress/issues/1244). - Fixed a regression in [6.5.0](/guides/references/changelog#​6-5-0) that could cause Cypress to crash with a `RangeError: Maximum call stack size exceeded at _deconstructPacket` error. Most commonly, this occurred when handling network errors with `cy.request()`. Fixes [#​15101](https://togithub.com/cypress-io/cypress/issues/15101). - Fixed a regression in [7.0.0](/guides/references/changelog#​7-0-0) that caused the Test Runner to crash with an `ERR_INVALID_ARG_TYPE` type error when testing a binary file upload. Fixes [#​15898](https://togithub.com/cypress-io/cypress/issues/15898) and [#​16223](https://togithub.com/cypress-io/cypress/issues/16223). - When verifying Cypress, we now listen for the 'close' event instead of the 'exit' event in an effort to fix some situations where the browser cannot be found even though it is on the system. Addressed in [#​16312](https://togithub.com/cypress-io/cypress/issues/16312). - Fixed a regression in [6.5.0](/guides/references/changelog#​6-5-0) that caused a node warning about `.then()` only accepting functions to display. Fixes [#​15281](https://togithub.com/cypress-io/cypress/issues/15281). - `cy.intercept()` now adds a `access-control-expose-headers: '*'` header by default for CORS requests unless overridden. Fixes [#​15050](https://togithub.com/cypress-io/cypress/issues/15050). - Improved the way that `cy.intercept()` and `cy.route()` requests with multiple aliases are displayed in the command log. Addressed in [#​16382](https://togithub.com/cypress-io/cypress/issues/16382). - `Cypress.cookies.debug(true)` will now correctly show cookie-related messages on the console. Fixes [#​15032](https://togithub.com/cypress-io/cypress/issues/15032). - `cy.log()` will now show all arguments, not only the first 2. Fixes [#​16068](https://togithub.com/cypress-io/cypress/issues/16068). - `.select()` now correctly selects option elements with values that have ` ` characters. Fixes [#​16045](https://togithub.com/cypress-io/cypress/issues/16045). - The `e2e` and `component` configuration values will now correctly show when previewing resolved configuration in the Test Runner. Fixes [#​16282](https://togithub.com/cypress-io/cypress/issues/16282). - When passing the `—quiet` flag, Cypress will no longer print uploading output to Stdout. Fixes [#​16268](https://togithub.com/cypress-io/cypress/issues/16268). - When pressing the `/` hotkey in Firefox, Cypress will select the SpecList's SearchInput as it does in other browsers. Fixes [#​16309](https://togithub.com/cypress-io/cypress/issues/16309). - Cypress will now detect the default installation location of the Visual Studio Code editors on Windows machines. Fixes [#​15080](https://togithub.com/cypress-io/cypress/issues/15080). - Changing files extensions when creating a new test file should no longer add extra dots to the filename on Windows machines. Fixes [#​16131](https://togithub.com/cypress-io/cypress/issues/16131). **Dependency Updates:** - Upgraded `classnames` from `2.2.6` to `2.3.1`. Addressed in [#​8337](https://togithub.com/cypress-io/cypress/issues/8337). - Upgraded `color-string` from `1.5.4` to `1.5.5`. Addressed in [#​16362](https://togithub.com/cypress-io/cypress/issues/16362). - Upgraded `lodash` from `4.17.19` to `4.17.21`. Addressed in [#​16406](https://togithub.com/cypress-io/cypress/issues/16406). - Upgraded `registry-js` from `1.13.0` to `1.15.0`. Addressed in [#​16409](https://togithub.com/cypress-io/cypress/issues/16409). - Upgraded `url-parse` from `1.4.7` to `1.5.0`. Addressed in [#​16408](https://togithub.com/cypress-io/cypress/issues/16408). ### [`v7.2.0`](https://togithub.com/cypress-io/cypress/releases/v7.2.0) [Compare Source](https://togithub.com/cypress-io/cypress/compare/v7.1.0...v7.2.0) *Released 04/26/2021* **Features:** - You can now navigate through folders in the Test Runner using the Tab keyboard input and open or close the folder's content with the Enter & Space keyboard inputs. Addresses [#​3741](https://togithub.com/cypress-io/cypress/issues/3741). **Performance:** - Fixed a regression in [7.0.0](https://docs.cypress.io/guides/references/changelog#​7-0-0) that caused tests to run slowly, especially when run with constrained CPU resources. Fixes [#​15853](https://togithub.com/cypress-io/cypress/issues/15853). - Fixed a regression in [7.0.0](https://docs.cypress.io/guides/references/changelog#​7-0-0) causing decreased performance in Chromium browsers due to requesting screencast frames when video is disabled. Fixes [#​16030](https://togithub.com/cypress-io/cypress/issues/16030). **Bugfixes:** - Fixed a regression in [7.0.0](https://docs.cypress.io/guides/references/changelog#​7-0-0) that caused the Test Runner to crash with an `ERR_INVALID_ARG_TYPE` type error. We now correctly detect a utf8 request body with multi-byte Unicode characters. Fixes [#​15901](https://togithub.com/cypress-io/cypress/issues/15901). - Reusing `cy.intercept()` aliases will now work as expected. Fixes [#​15823](https://togithub.com/cypress-io/cypress/issues/15823). - Fixed an issue in 7.0 where users could get a misleading "must pass a handler as the 3rd argument" error when using `cy.intercept`. Fixes [#​16117](https://togithub.com/cypress-io/cypress/issues/16117). - `cypress run-ct` no longer hangs on Windows machines. Fixes [#​15976](https://togithub.com/cypress-io/cypress/issues/15976). - Hovering over a command log without a snapshot will no longer cause the error `Cannot read property 'name' of null`. Fixes [#​15816](https://togithub.com/cypress-io/cypress/issues/15816). - We now throw an error when attempting to `.select()` an `

Configuration

📅 Schedule: "before 3am on the first day of the month" in timezone Europe/Stockholm.

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



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

github-actions[bot] commented 3 years ago

Size Change: 0 B

Total Size: 594 kB

ℹ️ View Unchanged | Filename | Size | | :--- | :---: | | `client/dist/css/app.css` | 121 kB | | `client/dist/css/chunk-e1b55505.css` | 37 B | | `client/dist/css/chunk-5c4469b5.css` | 37 B | | `client/dist/css/chunk-bff537b0.css` | 308 B | | `client/dist/css/chunk-2bb63e37.css` | 66 B | | `client/dist/css/chunk-773ad777.css` | 137 B | | `client/dist/css/chunk-a847f253.css` | 119 B | | `client/dist/js/app.js` | 5.54 kB | | `client/dist/js/chunk-8b22fc23.js` | 1.45 kB | | `client/dist/js/chunk-ccc4c88d.js` | 1 kB | | `client/dist/js/chunk-7980a4d9.js` | 822 B | | `client/dist/js/chunk-c6dc9db7.js` | 1.14 kB | | `client/dist/js/chunk-a1e55193.js` | 1.2 kB | | `client/dist/js/chunk-6ce142ad.js` | 299 B | | `client/dist/js/chunk-492771f7.js` | 300 B | | `client/dist/js/chunk-43da4628.js` | 297 B | | `client/dist/js/chunk-cf3fc2b4.js` | 689 B | | `client/dist/js/chunk-4887d28c.js` | 896 B | | `client/dist/js/chunk-18184fde.js` | 1.06 kB | | `client/dist/js/chunk-013ef62f.js` | 1.6 kB | | `client/dist/js/chunk-88f01705.js` | 800 B | | `client/dist/js/chunk-66cc7873.js` | 870 B | | `client/dist/js/chunk-d4a4be99.js` | 843 B | | `client/dist/js/chunk-99758547.js` | 1.28 kB | | `client/dist/js/chunk-128186df.js` | 1.37 kB | | `client/dist/js/chunk-27cbd831.js` | 1.8 kB | | `client/dist/js/chunk-c41d873e.js` | 324 B | | `client/dist/js/chunk-vendors.js` | 441 kB | | `server/dist/index.js` | 295 B | | `server/dist/src/app.js` | 586 B | | `server/dist/src/app/customer/customer-model.js` | 291 B | | `server/dist/src/app/customer/customer-route.js` | 506 B | | `server/dist/src/app/order/order-model.js` | 316 B | | `server/dist/src/app/order/order-route.js` | 532 B | | `server/dist/src/app/product/product-model.js` | 276 B | | `server/dist/src/app/product/product-route.js` | 505 B | | `server/dist/src/build/build-controller.js` | 691 B | | `server/dist/src/build/build-route.js` | 337 B | | `server/dist/src/entities/entities-controller.js` | 421 B | | `server/dist/src/entities/entities-route.js` | 328 B | | `server/dist/src/models.js` | 504 B | | `server/dist/src/routes.js` | 309 B | | `server/dist/src/utils/file.js` | 361 B | | `server/dist/src/utils/index.js` | 331 B | | `server/dist/src/utils/paths.js` | 290 B | | `server/dist/src/utils/templating.js` | 659 B | | `server/dist/tests/app.test.js` | 381 B |

compressed-size-action

codecov[bot] commented 3 years ago

Codecov Report

Merging #223 (6fd41ad) into master (9ca0e8a) will not change coverage. The diff coverage is n/a.

:exclamation: Current head 6fd41ad differs from pull request most recent head c3698e6. Consider uploading reports for the commit c3698e6 to get more accurate results Impacted file tree graph

@@           Coverage Diff           @@
##           master     #223   +/-   ##
=======================================
  Coverage   30.00%   30.00%           
=======================================
  Files          29       29           
  Lines         360      360           
  Branches       19       20    +1     
=======================================
  Hits          108      108           
  Misses        252      252           

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 9ca0e8a...c3698e6. Read the comment docs.