harshit-test-org / javascript-af

https://javascript.af
14 stars 2 forks source link

chore(deps): update dependency cypress to v3.3.0 #245

Closed renovate[bot] closed 5 years ago

renovate[bot] commented 5 years ago

This PR contains the following updates:

Package Type Update Change References
cypress devDependencies minor 3.2.0 -> 3.3.0 source

Release Notes

cypress-io/cypress ### [`v3.3.0`](https://togithub.com/cypress-io/cypress/releases/v3.3.0) [Compare Source](https://togithub.com/cypress-io/cypress/compare/v3.2.0...v3.3.0) _Released 5/17/2019_ **Features:** - Cypress now automatically reads from your system's `HTTP_PROXY`, `HTTPS_PROXY`, and `NO_PROXY` environment variables and proxies traffic accordingly through Cypress based on these values. This includes network traffic within your application under test, when downloading Cypress, and when accessing 'Runs' within the Test Runner. Please read our new [Proxy Configuration](https://on.cypress.io/proxy-configuration) doc to understand more about proxy configuration in Cypress. Fixes [#​672](https://togithub.com/cypress-io/cypress/issues/672), [#​733](https://togithub.com/cypress-io/cypress/issues/733), [#​939](https://togithub.com/cypress-io/cypress/issues/939), [#​1039](https://togithub.com/cypress-io/cypress/issues/1039), [#​1459](https://togithub.com/cypress-io/cypress/issues/1459), [#​1469](https://togithub.com/cypress-io/cypress/issues/1469), [#​1470](https://togithub.com/cypress-io/cypress/issues/1470), [#​1541](https://togithub.com/cypress-io/cypress/issues/1541), [#​1608](https://togithub.com/cypress-io/cypress/issues/1608), [#​2295](https://togithub.com/cypress-io/cypress/issues/2295), [#​3855](https://togithub.com/cypress-io/cypress/issues/3855), [#​3865](https://togithub.com/cypress-io/cypress/issues/3865), [#​1401](https://togithub.com/cypress-io/cypress/issues/1401) and [#​3857](https://togithub.com/cypress-io/cypress/issues/3857). - Your project's current proxy settings now display in the [Settings of the Test Runner](https://on.cypress.io/proxy-configuration#View-proxy-settings-in-Cypress). Addresses [#​3856](https://togithub.com/cypress-io/cypress/issues/3856). - Support for `have.focus`, `not.have.focus`, `be.focused` and `not.be.focused` [assertions](https://on.cypress.io/assertions) have been added. Addresses [#​97](https://togithub.com/cypress-io/cypress/issues/97). - We now offer a separate 32bit and 64bit build for Windows. Addresses [#​716](https://togithub.com/cypress-io/cypress/issues/716), [#​787](https://togithub.com/cypress-io/cypress/issues/787), [#​2095](https://togithub.com/cypress-io/cypress/issues/2095), [#​706](https://togithub.com/cypress-io/cypress/issues/706). - Requests that go through [`cy.visit()`](https://on.cypress.io/visit) or [`cy.request()`](https://on.cypress.io/request) are now automatically retried under the hood when the request fails. This more closely reflects Chrome's default behavior on requests. Addresses [#​4013](https://togithub.com/cypress-io/cypress/issues/4013), [#​898](https://togithub.com/cypress-io/cypress/issues/898) and [#​1013](https://togithub.com/cypress-io/cypress/issues/1013). - [`cy.visit()`](https://on.cypress.io/visit) and [`cy.request()`](https://on.cypress.io/request) now support new options `retryOnStatusCodeFailure` and `retryOnNetworkFailure` to allow changing Cypress's automatic request retry on status codes and network errors. Addresses [#​4013](https://togithub.com/cypress-io/cypress/issues/4013), [#​898](https://togithub.com/cypress-io/cypress/issues/898) and [#​1013](https://togithub.com/cypress-io/cypress/issues/1013). - [`.type()`](https://on.cypress.io/type) now supports the special character sequences `{insert}`, `{pageup}`, and `{pagedown}`. Addresses [#​3845](https://togithub.com/cypress-io/cypress/issues/3845). - We now indicate which XHRs match which alias in the Command Log on [`.wait()`](https://on.cypress.io/wait) when they match an alias multiple times. Addresses [#​477](https://togithub.com/cypress-io/cypress/issues/477). - The console log when clicking on the [`cy.visit()`](https://on.cypress.io/visit) command now displays its resolved `options` arguments. Addresses [#​3721](https://togithub.com/cypress-io/cypress/issues/3721). - There's a new 'canceled' XHR status shown on the Command Log to indicate the difference between calling `xhr.abort()` and the browser canceling the request due to page navigation. Addresses [#​3973](https://togithub.com/cypress-io/cypress/issues/3973). - The Electron browser now runs Chrome Version 61. Addresses [#​4000](https://togithub.com/cypress-io/cypress/issues/4000). - Running Cypress via `cypress run` now supports scripts of `type="module"`. Fixes [#​3696](https://togithub.com/cypress-io/cypress/issues/3696). - Exposed [`Cypress.isCy()`](https://on.cypress.io/iscy) method to check if a value is a valid instance of `cy` or a `cy` chainable. Fixes [#​3822](https://togithub.com/cypress-io/cypress/issues/3822). **Bugfixes:** - Fixed a regression introduced in [3.2.0](https://on.cypress.io/changelog#​3-2-0) that caused an error to throw when visiting domains with certain public suffixes. Fixes [#​3717](https://togithub.com/cypress-io/cypress/issues/3717). - When running Cypress with `NODE_OPTIONS` environment variables set, Cypress no longer issues an incorrect 0 exit code. [#​1676](https://togithub.com/cypress-io/cypress/issues/1676) - Fixed a regression introduced in [3.2.0](https://on.cypress.io/changelog#​3-2-0) that caused [`.its()`](https://on.cypress.io/its) to no longer retry when it yields `undefined`. [#​3837](https://togithub.com/cypress-io/cypress/issues/3837) - Fixed a regression introduced in [3.2.0](https://on.cypress.io/changelog#​3-2-0) that caused [`cy.fixture()`](https://on.cypress.io/fixture) to throw a `EISDIR` error if a directory had the same name as a file within that same directory. Fixes [#​3739](https://togithub.com/cypress-io/cypress/issues/3739). - `user-agent` headers sent as arguments to [`cy.request()`](https://on.cypress.io/request) and [`cy.visit()`](https://on.cypress.io/visit) are now properly sent. Fixes [#​3873](https://togithub.com/cypress-io/cypress/issues/3873) and [#​3719](https://togithub.com/cypress-io/cypress/issues/3719). - We changed Cypress's implementation to no longer rely on internal XHR events when the browser navigates. This fixes a a bug in Chrome 71+ that could cause XHRs to pend forever. Fixes [#​3973](https://togithub.com/cypress-io/cypress/issues/3973) and [#​4130](https://togithub.com/cypress-io/cypress/issues/4130) - We greatly improved the speed of proxied requests through our network layer. Fixes [#​3192](https://togithub.com/cypress-io/cypress/issues/3192) and [#​1469](https://togithub.com/cypress-io/cypress/issues/1469). - If an error occurs during `cypress verify`, we now kill the verification process after 10 seconds and print the error message. This should prevent some situations where Cypress would hang during installation or verification and never exit. Fixes [#​819](https://togithub.com/cypress-io/cypress/issues/819). - Cypress automatically retries `cypress verify` and `cypress run` commands by starting its own XVFB server on Linux if the first attempt fails due to possible `DISPLAY` misconfiguration. Addresses [#​4034](https://togithub.com/cypress-io/cypress/issues/4034). - Cypress now properly handles typing JavaScript object prototype methods (like `hasOwnProperty`) into [.type()](https://on.cypress.io/type). Fixes [#​3423](https://togithub.com/cypress-io/cypress/issues/3423). - We now set the `form` option to `true` if the `Content-Type` header equals `application/x-www-form-urlencoded` and `json` is not already set by a user. This fixes a situation where Cypress would try to parse the `body` as a string, resulting in a confusing error message. Fixes [#​2923](https://togithub.com/cypress-io/cypress/issues/2923). - [`cy.contains()`](https://on.cypress.io/contains) now correctly handles comma delimited arguments passed to the selector argument. Fixes [#​2407](https://togithub.com/cypress-io/cypress/issues/2407). - Passing a browser path containing spaces now works properly when passed to the `--browser` argument. Fixes [#​3979](https://togithub.com/cypress-io/cypress/issues/3979) - Fixed display of tooltips when selecting elements from the Selector Playground so that they display at the correct coordinates when scrolling. Fixes [#​1351](https://togithub.com/cypress-io/cypress/issues/1351). - The lists of spec files now display at the correct indentation level when they are nested more than 5 directories deep. Fixes [#​3652](https://togithub.com/cypress-io/cypress/issues/3652). - Cypress now properly parses environment variables with empty values. Fixes [#​3742](https://togithub.com/cypress-io/cypress/issues/3742). - Assertions running outside of a test are now properly handled in Cypress instead of throwing internal errors. Fixes [#​3926](https://togithub.com/cypress-io/cypress/issues/3926). - [`Cypress.log()`](https://on.cypress.io/cypress-log) now throws an error when not properly passed an object as its argument. Addresses [#​3658](https://togithub.com/cypress-io/cypress/issues/3658). - [`Cypress.log()`](https://on.cypress.io/cypress-log) no longer throws when called before any other Cypress commands. Fixes [#​3658](https://togithub.com/cypress-io/cypress/issues/3658). **Misc:** - We now better support capturing environment variables within Azure DevOps. Addresses [#​3657](https://togithub.com/cypress-io/cypress/issues/3657). - Cypress now only scans for spec changes when the watcher sees changes, rather than polling to scan. Addresses [#​3069](https://togithub.com/cypress-io/cypress/issues/3069). - The ability to open the context menu to see "Inspect Element" has been reenable in the Electron browser. Addresses [#​4002](https://togithub.com/cypress-io/cypress/issues/4002). - We no longer package non-Windows `ffmpeg` builds with Windows builds, resulting in a 35-40% reduction in zipped size and a 36-43% reduction in unzipped size of download. Addresses [#​3888](https://togithub.com/cypress-io/cypress/issues/3888). - When an HTTP request is received by the proxy layer, by default, we send it with a `Connection: keep-alive` header so that the connection will be reused if possible. Addresses [#​3857](https://togithub.com/cypress-io/cypress/issues/3857). - Improved accessibility of Test Runner for screen readers. Addresses [#​3850](https://togithub.com/cypress-io/cypress/issues/3850). - Cypress type definition now allow a `timeout` option in [`cy.hash()`](https://on.cypress.io/hash). Fixes [#​3844](https://togithub.com/cypress-io/cypress/issues/3844). - Fixed type definition for `match` assertion so that it now only accepts `RegExp` type arguments. Fixes [#​2578](https://togithub.com/cypress-io/cypress/issues/2578). - The [`.trigger()`](https://on.cypress.io/trigger) type definition now expects its `options` to be `ObjectLike`. Addressed in [#​3809](https://togithub.com/cypress-io/cypress/pull/3809). - The [`cy.clock()`](https://on.cypress.io/clock) type definition now allows for type `Date`. Fixed in [#​4106](https://togithub.com/cypress-io/cypress/pull/4106). - Added type definition for undocumented `Cypress.LocalStorage.clear` method. Fixes [#​4070](https://togithub.com/cypress-io/cypress/issues/4070). - Added type definition for [`Cypress.isCy()`](https://on.cypress.io/iscy) method. Fixes [#​3822](https://togithub.com/cypress-io/cypress/issues/3822). - The spinner animation should more smoothly spin when a command is pending in the Test Runner. Addressed in [#​4005](https://togithub.com/cypress-io/cypress/pull/4005). **Documentation Changes:** - New [Proxy Configuration](https://on.cypress.io/proxy-configuration) doc. Addressed in [#​1486](https://togithub.com/cypress-io/cypress-documentation/pull/1486). - Added `{insert}`, `{pageup}`, and `{pagedown}` as supported special character sequences to [`.type()`](https://on.cypress.io/type#Arguments). Addressed in [#​1567](https://togithub.com/cypress-io/cypress-documentation/pull/1567). - Added newly supported `focus` assertion to [Assertions](https://on.cypress.io/assertions) doc. Addresses [#​1372](https://togithub.com/cypress-io/cypress-documentation/pull/1372). - Added new options `retryOnStatusCodeFailure` and `retryOnNetworkFailure` to [`cy.visit()`](https://on.cypress.io/visit) and [`cy.request()`](https://on.cypress.io/request). - Updated [install instructions for Windows](https://on.cypress.io/installing-cypress#Download-URLs) on how to target 64bit and 32bit infrastructures. Addressed in [#​1568](https://togithub.com/cypress-io/cypress-documentation/issues/1568). - Updated [`.its()`](https://on.cypress.io/its) and [`.invoke()`](https://on.cypress.io/invoke) docs to better explain how default assertions are handled. Addresses [#​1643](https://togithub.com/cypress-io/cypress-documentation/issues/1643). - Updated our [Roadmap](https://on.cypress.io/roadmap) to more closely reflect the work we are doing. Addressed in [#​1567](https://togithub.com/cypress-io/cypress-documentation/pull/1639). - Added a section about how to request our new [Open Source Plan](https://on.cypress.io/dashboard-service#Open-Source-Plan) in the Dashboard Service doc. Addressed in [#​1567](https://togithub.com/cypress-io/cypress-documentation/pull/1584). **Dependency Updates** - Upgraded `commit-info` from `2.1.2` to `2.1.2`. Addressed in [#​4045](https://togithub.com/cypress-io/cypress/pull/4045) - Upgraded `data-uri-to-buffer` from `0.0.4` to `1.2.0`. Addresses [#​4152](https://togithub.com/cypress-io/cypress/issues/4152). - Upgraded `electron` from `1.8.2` to `2.0.18`. Addresses [#​4000](https://togithub.com/cypress-io/cypress/issues/4000). - Upgraded `electron-packager` from `9.1.0` to `13.1.1`. Addresses [#​4155](https://togithub.com/cypress-io/cypress/issues/4155). - Upgraded `express-handlebars` from `3.0.0` to `3.0.2`. Addressed in [#​4086](https://togithub.com/cypress-io/cypress/pull/4086). - Upgraded `find-process` from `1.2.1` to `1.4.1`. Addressed in [#​4087](https://togithub.com/cypress-io/cypress/pull/4087). - Upgraded `getos` from `2.8.4` to `3.1.1`. Addressed in [#​4222](https://togithub.com/cypress-io/cypress/pull/4222). - Upgraded `http-status-codes` from `1.3.0` to `1.3.2`. Addressed in [#​3949](https://togithub.com/cypress-io/cypress/pull/3949). - Upgraded `jimp` from `0.6.0` to `0.6.4`. Addressed in [#​4097](https://togithub.com/cypress-io/cypress/pull/4097). - Removed `method-override`. Addressed in [#​4209](https://togithub.com/cypress-io/cypress/pull/4209). - Upgraded `node` from `8.2.1` to `8.9.3`. Addressed in [#​4001](https://togithub.com/cypress-io/cypress/pull/4001). - Downgraded `parse-domain` from 2.1.7 to 2.0.0 to avoid a regression released in `parse-domain`. Addresses [#​3717](https://togithub.com/cypress-io/cypress/issues/3717). - Upgraded `pluralize` from `3.1.0` to `7.0.0`. Addressed in [#​4205](https://togithub.com/cypress-io/cypress/pull/4205) and [#​4206](https://togithub.com/cypress-io/cypress/pull/4206). - Upgraded `semver` from `5.6.0` to `5.7.0`. Addressed in [#​4112](https://togithub.com/cypress-io/cypress/pull/4112). - Upgraded `send` from `0.16.2` to `0.17.0`. Addressed in [#​4134](https://togithub.com/cypress-io/cypress/pull/4134). - Upgraded `supports-color` from `5.5.0` to `6.1.0`. Addressed in [#​4150](https://togithub.com/cypress-io/cypress/pull/4150). - Removed `tar-fs`. Addressed in [#​4148](https://togithub.com/cypress-io/cypress/pull/4148). - Upgraded `term-size` from `1.2.0` to `2.0.0`. Addressed in [#​4148](https://togithub.com/cypress-io/cypress/pull/4148). - Upgraded `tmp` from `0.0.33` to `0.1.0`. Addressed in [#​4111](https://togithub.com/cypress-io/cypress/pull/4111). - Upgraded `trash` from `4.3.0` to `5.2.0`. Addressed in [#​4140](https://togithub.com/cypress-io/cypress/pull/4140). - Upgraded `url-parse` from `1.4.4` to `1.4.7`. Addressed in [#​4110](https://togithub.com/cypress-io/cypress/pull/4110). - Upgraded `widest-line` from `2.0.1` to `3.1.0`. Addressed in [#​4139](https://togithub.com/cypress-io/cypress/pull/4139). - We updated and removed some dependencies used for development.

Renovate configuration

:date: Schedule: "every weekend" (UTC).

:vertical_traffic_light: Automerge: Enabled.

:recycle: Rebasing: Whenever PR becomes conflicted, or if you modify the PR title to begin with "rebase!".

:no_bell: Ignore: Close this PR and you won't be reminded about this update again.



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