samq-starkcorp / NodeGoat

Apache License 2.0
0 stars 0 forks source link

Update dependency cypress to v4 - autoclosed #59

Closed mend-for-github-com[bot] closed 1 year ago

mend-for-github-com[bot] commented 1 year ago

This PR contains the following updates:

Package Type Update Change
cypress devDependencies major ^3.3.1 -> ^4.0.0

By merging this PR, the issue #18 will be automatically resolved and closed:

Severity CVSS Score CVE
High High 9.8 CVE-2021-3918
High High 9.8 CVE-2021-44906
High High 9.1 CVE-2021-42581
High High 7.5 CVE-2022-24785
Medium Medium 5.6 CVE-2020-15366
Medium Medium 5.6 CVE-2020-7598

Release Notes

cypress-io/cypress ### [`v4.3.0`](https://togithub.com/cypress-io/cypress/releases/tag/v4.3.0) [Compare Source](https://togithub.com/cypress-io/cypress/compare/v4.2.0...v4.3.0) *Released 3/30/2020* **Features:** - [Errors shown in the Test Runner](https://on.cypress.io/debugging#Errors) have a new design including an expandable stack trace, better highlighting of code elements, and 'Learn more' links that link to relevant Cypress documentation. This is part of our larger improvements to error display with more exciting features to come. Addresses [#​3762](https://togithub.com/cypress-io/cypress/issues/3762). - When you open a Cypress project, clicking on the **Settings** tab and clicking into the **Experiments** panel will display the [experimental features](https://on.cypress.io/configuration#Experiments) that are available and whether they are enabled for your project. - Added support for setting cookie `sameSite` values via `cy.setCookie()`. Addresses [#​2437](https://togithub.com/cypress-io/cypress/issues/2437). - Added experimental support for adding `sameSite` values to the objects yielded from [`cy.setCookie()`](https://on.cypress.io/setcookie), [`cy.getCookie()`](https://on.cypress.io/getcookie), and [`cy.getCookies()`](https://on.cypress.io/getcookies). Users can enable this by setting the [`experimentalGetCookiesSameSite`](https://on.cypress.io/configuration#Experiments) configuration value to `true`. In Cypress 5, this will be the default. Addresses [#​2437](https://togithub.com/cypress-io/cypress/issues/2437). - Added support for the `SameSite` cookie attribute in `cy.request()`, `cy.visit()`, and proxied HTTP requests. Addresses [#​6757](https://togithub.com/cypress-io/cypress/issues/6757). - When an assertion is retried (using [`.should()`](https://on.cypress.io/should)) and fails, it now shows the diff in the `stdout`. Addresses [#​6722](https://togithub.com/cypress-io/cypress/issues/6722). **Bugfixes:** - Fixed a regression in [4.2.0](https://on.cypress.io/changelog-4-2-0) where cypress installation could fail if Git is not installed. Fixes [#​6752](https://togithub.com/cypress-io/cypress/issues/6752). - Fixed a regression in [3.5.0](https://on.cypress.io/changelog-3-5-0) where certain HTTP requests could fail with `Parse Error: Invalid header value char` or `Parse Error: Header overflow`. Fixes [#​5602](https://togithub.com/cypress-io/cypress/issues/5602). - Fixed a regression in [4.2.0](https://on.cypress.io/changelog-4-2-0) where Electron deprecation warnings were printed to stderr in open mode. Fixes [#​6750](https://togithub.com/cypress-io/cypress/issues/6750). - Cookies set with a Domain containing an unknown TLD are now sent along for all requests. For example, a cookie like `foo=bar; Domain=.cypress.test` will now be sent during [cy.request()](https://on.cypress.io/request) to `http://local.cypress.test`. Fixes [#​6628](https://togithub.com/cypress-io/cypress/issues/6628). - We fixed a situation where a cross-origin errors could incorrectly throw in Chrome. Fixes [#​5270](https://togithub.com/cypress-io/cypress/issues/5270). - Visibility checks against `vue-fragment` elements no longer throw an unexpected error. Fixes [#​6745](https://togithub.com/cypress-io/cypress/issues/6745). - The stack trace is now properly shown in the console when clicking the command for tests having an `.only` that throw an error. Fixes [#​6744](https://togithub.com/cypress-io/cypress/issues/6744). - `firefoxGcInterval` can now correctly be set to `null`. Fixes [#​6825](https://togithub.com/cypress-io/cypress/issues/6825). - Cypress will no longer crash the process if an empty video chunk is received. Addressed in [#​6818](https://togithub.com/cypress-io/cypress/pull/6818). - Assertions failures on DOM elements no longer show unexpected diffs when they weren't retried. Fixes [#​6723](https://togithub.com/cypress-io/cypress/pull/6723). **Misc:** - Security warnings no longer show in Mac OS when opening Cypress since our application now undergoes notarization from Apple. Addresses [#​5791](https://togithub.com/cypress-io/cypress/issues/5791). - The previously used spec filter in the Test Runner is now saved and restored for projects without an ID. Addresses [#​6739](https://togithub.com/cypress-io/cypress/issues/6739). - We collect more env information from Travis builds for potential use in the Cypress Dashboard. Addresses [#​6808](https://togithub.com/cypress-io/cypress/issues/6808). - We now collect env information from Netlify builds (for example when using {% url "cypress-io/netlify-plugin-cypress" https://github.com/cypress-io/netlify-plugin-cypress) to send along to the Cypress Dashboard. Addresses [#​6780](https://togithub.com/cypress-io/cypress/issues/6780). - Type added for `tag` property when using Module API. Addresses [#​6795](https://togithub.com/cypress-io/cypress/issues/6795). - We're continuing to make progress in converting our codebase from CoffeeScript to JavaScript. Addresses [#​2690](https://togithub.com/cypress-io/cypress/issues/2690) in [#​6833](https://togithub.com/cypress-io/cypress/pull/6833). **Dependency Updates** - Upgraded Chrome browser version used during `cypress run` and when selecting Electron browser in `cypress open` from `80.0.3987.141` to `80.0.3987.158`. Addressed in [#​6855](https://togithub.com/cypress-io/cypress/pull/6855). - Upgraded `electron` from `8.1.1` to `8.2.0`. This bumps the bundled Chromium to `80.0.3987.158`. Addressed in [#​6855](https://togithub.com/cypress-io/cypress/pull/6855). - Upgraded `@benmalka/foxdriver` from `0.2.3` to `0.3.0`. Addressed in [#​6592](https://togithub.com/cypress-io/cypress/pull/6592). - Upgraded `@cypress/get-windows-proxy` from `1.6.0` to `1.6.1`. Addressed in [#​6823](https://togithub.com/cypress-io/cypress/pull/6823). - Upgraded `execa` from `1.0.0` to `4.0.0`. Addressed in [#​6013](https://togithub.com/cypress-io/cypress/pull/6013). - Upgraded `extract-zip` from `1.6.7` to `1.7.0`. Addresses [#​6845](https://togithub.com/cypress-io/cypress/issues/6845) in [#​6845](https://togithub.com/cypress-io/cypress/pull/6845). - Upgraded `firefox-profile` from `1.3.0` to `1.3.1`. Addressed in [#​6594](https://togithub.com/cypress-io/cypress/pull/6594). - Upgraded `get-port` from `5.1.0` to `5.1.1`. Addressed in [#​6854](https://togithub.com/cypress-io/cypress/pull/6854). - Upgraded `mime` from `1.6.0` to `2.4.4`. Addressed in [#​6764](https://togithub.com/cypress-io/cypress/pull/6764). - Upgraded `minimist` from `1.2.2` to `1.2.5`. Addressed in [#​6747](https://togithub.com/cypress-io/cypress/pull/6747). - Upgraded `squirrelly` from `7.7.0` to `7.9.2`. Addressed in [#​6735](https://togithub.com/cypress-io/cypress/pull/6735). ### [`v4.2.0`](https://togithub.com/cypress-io/cypress/releases/tag/v4.2.0) [Compare Source](https://togithub.com/cypress-io/cypress/compare/v4.1.0...v4.2.0) *Released 3/16/2020* **Features:** - Videos can now be recorded when running Electron in `--headed` mode. Addresses [#​1767](https://togithub.com/cypress-io/cypress/issues/1767). - [`cypress cache list`](https://on.cypress.io/command-line#cypress-cache-list) now prints the last time the cached binary was accessed for each version present. Addresses [#​6682](https://togithub.com/cypress-io/cypress/issues/6682). **Bugfixes:** - We fixed a regression in [3.8.3](https://on.cypress.io/changelog-3-8-3) where HTTPS requests could experience slowdown. Fixes [#​6659](https://togithub.com/cypress-io/cypress/issues/6659). - We now detect some installations of Firefox that were previously undetected. Fixes [#​6669](https://togithub.com/cypress-io/cypress/issues/6669). - We fixed a race condition where an asynchronous error could fail to be caught when running the plugins file process. Fixes [#​6570](https://togithub.com/cypress-io/cypress/issues/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](https://togithub.com/cypress-io/cypress/issues/6707). - Specfiles containing `&` or `%` characters now correctly run instead of erroring. Fixes [#​4210](https://togithub.com/cypress-io/cypress/issues/4210). - We added support for running tests on Jira plugins even when Jira scripts were not minified. Fixes [#​1436](https://togithub.com/cypress-io/cypress/issues/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](https://togithub.com/cypress-io/cypress/issues/6619). - [`cypress verify`](https://on.cypress.io/command-line#cypress-verify) no longer incorrectly prints messaging about this being the first time using that Cypress version. Fixes [#​6607](https://togithub.com/cypress-io/cypress/issues/6607). - Screenshots no longer fail to be taken in Electron when Cypress `DEBUG` logs are enabled. Fixes [#​6662](https://togithub.com/cypress-io/cypress/issues/6662). **Misc:** - A warning is now printed when setting the reserved key `CYPRESS_INTERNAL_ENV` to a non-production value. Addresses [#​6436](https://togithub.com/cypress-io/cypress/issues/6436). - When DEBUG logs are printed from `cypress:launcher`, they now print a clearer log during browser detection for easier reading. Addresses [#​6700](https://togithub.com/cypress-io/cypress/issues/6700). - The Test Runner now renders ANSI colors when there is a syntax error in the spec file. Addresses [#​6533](https://togithub.com/cypress-io/cypress/issues/6533). - The Test Runner now has an icon indicating whether the specs list parent folder is collapsed. Addresses [#​6277](https://togithub.com/cypress-io/cypress/issues/6277). - There's better type information for [`.click`](https://on.cypress.io/click), [`.dblclick`](https://on.cypress.io/dblclick), and [`.rightclick`](https://on.cypress.io/rightclick) command's `position` argument. Addresses [#​6341](https://togithub.com/cypress-io/cypress/issues/6341). - There's a more robust type signature for [`.its()`](https://on.cypress.io/its) and [`.invoke()`](https://on.cypress.io/invoke). Addresses [#​6431](https://togithub.com/cypress-io/cypress/issues/6431). - Using [`Cypress.dom.isDetached`](https://on.cypress.io/dom#Is-detached) no longer throws a type error in TypeScript projects. Addresses [#​4408](https://togithub.com/cypress-io/cypress/issues/4408). - Using [`cy.clearLocalStorage({ log:false })`](https://on.cypress.io/clearlocalstorage) no longer throws a type error in TypeScript projects. Addresses [#​6615](https://togithub.com/cypress-io/cypress/issues/6615). - We added types for [`Cypress.sinon`](https://on.cypress.io/sinon). Addresses [#​6720](https://togithub.com/cypress-io/cypress/issues/6720). - We've added the foundational work required to support experimental features in the Test Runner. Addresses [#​6257](https://togithub.com/cypress-io/cypress/issues/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](https://togithub.com/cypress-io/cypress/pull/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](https://togithub.com/cypress-io/cypress/pull/6555). - Upgraded `@ffmpeg-installer/ffmpeg` from `1.0.19` to `1.0.20`. Addressed in [#​6686](https://togithub.com/cypress-io/cypress/pull/6686). - Upgraded `minimist` from `1.2.0` to `1.2.2`. Addressed in [#​6726](https://togithub.com/cypress-io/cypress/pull/6726). - Replaced deprecated `request` with `cypress-io/request`. Addressed in [#​6679](https://togithub.com/cypress-io/cypress/pull/6679). ### [`v4.1.0`](https://togithub.com/cypress-io/cypress/releases/tag/v4.1.0) [Compare Source](https://togithub.com/cypress-io/cypress/compare/v4.0.2...v4.1.0) *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](https://togithub.com/cypress-io/cypress/issues/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](https://togithub.com/cypress-io/cypress/issues/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](https://togithub.com/cypress-io/cypress/issues/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](https://togithub.com/cypress-io/cypress/issues/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](https://togithub.com/cypress-io/cypress/issues/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](https://togithub.com/cypress-io/cypress/issues/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](https://togithub.com/cypress-io/cypress/issues/4373). - We fixed an issue where a maximum call stack error would throw in some circumstances when `xhr.onreadystatechange` is accessed. Fixes [#​5864](https://togithub.com/cypress-io/cypress/issues/5864). - We fixed a regression in [3.5.0](https://on.cypress.io/changelog-3-5-0) where typing into an iframe with a body element with the contenteditable attribute would throw an error. Fixes [#​5930](https://togithub.com/cypress-io/cypress/issues/5930). - We now set the default window size when running Chrome headlessly to 1280x720. Fixes [#​6210](https://togithub.com/cypress-io/cypress/issues/6210). - We fixed an issue where `cypress install` would not complete on Node.js 8.0.0. Fixes [#​6512](https://togithub.com/cypress-io/cypress/issues/6512) and [#​6568](https://togithub.com/cypress-io/cypress/issues/6568). - {% url "`cy.clearLocalStorage()`" clearlocalstorage now properly accepts the `log` option to disable logging. Fixes [#​6342](https://togithub.com/cypress-io/cypress/issues/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](https://togithub.com/cypress-io/cypress/issues/6048). - We fixed an error message that would display the wrong available browser families during validation. Addressed in [#​6517](https://togithub.com/cypress-io/cypress/pull/6517). - We fixed some typos in some of our error messages. Addressed in [#​6508](https://togithub.com/cypress-io/cypress/pull/6508). - We're collecting more environment variables when running Cypress with GitLab CI. Addresses [#​6231](https://togithub.com/cypress-io/cypress/issues/6231). - The typing of `cy.$$` has been updated to distinguish differences between it and `Cypress.$`. "More info here" $#Cypress-vs-cy Addresses [#​2027](https://togithub.com/cypress-io/cypress/issues/2027). - We're continuing to make progress in converting our codebase from CoffeeScript to JavaScript. Addresses [#​2690](https://togithub.com/cypress-io/cypress/issues/2690) in [#​6552](https://togithub.com/cypress-io/cypress/pull/6552), [#​6523](https://togithub.com/cypress-io/cypress/pull/6523), and [#​6545](https://togithub.com/cypress-io/cypress/pull/6545). **Dependency Updates** - Upgraded `electron` from `7.1.10` to `7.1.13`. Addressed in [#​6566](https://togithub.com/cypress-io/cypress/pull/6566). ### [`v4.0.2`](https://togithub.com/cypress-io/cypress/releases/tag/v4.0.2) [Compare Source](https://togithub.com/cypress-io/cypress/compare/v4.0.1...v4.0.2) *Released 2/14/2020* **Bugfixes:** - Fixed a bug where Firefox tests could fail to run on macOS if another instance of Firefox was open. Addresses [#​6380](https://togithub.com/cypress-io/cypress/issues/6380). - Updated `@cypress/browserify-preprocessor` to `2.1.4`, fixing a regression involving non-top-level `require()`s in tests. Addresses [#​6403](https://togithub.com/cypress-io/cypress/issues/6403). - Fixed a bug where re-running a failed workflow in GitHub Actions would not generate a new Dashboard run. Addresses [#​6450](https://togithub.com/cypress-io/cypress/issues/6450). - Fixed incorrect type definitions for `Cypress.isBrowser`. Addresses [#​6447](https://togithub.com/cypress-io/cypress/issues/6447). - Fixed a regression introduced in 4.0.0 where using `.should('contain', ...)` on a `cy.contains()` would produce unexpected results. Addresses [#​6384](https://togithub.com/cypress-io/cypress/issues/6384). **Misc:** - Improved the error experience GUI when launching a browser fails. Addresses [#​6432](https://togithub.com/cypress-io/cypress/issues/6432). - Improved the error experience when visiting the Cypress server outside of a Cypress-launched browser. Addresses [#​6435](https://togithub.com/cypress-io/cypress/issues/6435). ### [`v4.0.1`](https://togithub.com/cypress-io/cypress/releases/tag/v4.0.1) [Compare Source](https://togithub.com/cypress-io/cypress/compare/v4.0.0...v4.0.1) *Released 2/7/2020* **Bugfixes:** - Fixed a bug where Chromium could not be detected on macOS. Addresses [#​6358](https://togithub.com/cypress-io/cypress/issues/6358). - Fixed bugs where Edge and Firefox Nightly could not be detected on macOS. Addresses [#​6354](https://togithub.com/cypress-io/cypress/issues/6354) and [#​6345](https://togithub.com/cypress-io/cypress/issues/6345). - Fixed a bug where 64-bit editions of Firefox could not be detected on Windows. Addresses [#​6355](https://togithub.com/cypress-io/cypress/issues/6355). - Fixed a bug where video recordings of Firefox would omit all frames from before the last cross-domain navigation of the test. Addresses [#​6369](https://togithub.com/cypress-io/cypress/issues/6369). - Fixed a bug where Cypress could crash with the message "cannot read property 'on' of undefined" while running Firefox. Addresses [#​6356](https://togithub.com/cypress-io/cypress/issues/6356). - Corrected a link to the screenshot API documentation in the type definitions. Addresses [#​6359](https://togithub.com/cypress-io/cypress/issues/6359). **Misc:** - Updated the default preferences set on Firefox to hide update notifications and otherwise improve the Firefox experience. Addresses [#​6346](https://togithub.com/cypress-io/cypress/issues/6346). ### [`v4.0.0`](https://togithub.com/cypress-io/cypress/releases/tag/v4.0.0) [Compare Source](https://togithub.com/cypress-io/cypress/compare/v3.8.3...v4.0.0) *Released 2/6/2020* **Summary:** Cypress 4.0.0 includes support for [Mozilla Firefox](https://www.mozilla.org/firefox/) browsers (beta support) and [Microsoft Edge](https://www.microsoft.com/edge) (Chromium based) browsers which is a big step forward for [Cross Browser Testing](https://on.cypress.io/cross-browser-testing) in Cypress. We've also updated many of the [underlying tools](https://on.cypress.io/bundled-tools) behind Cypress that bring new powerful features. **Breaking Changes:** **:warning: Please read our [Migration Guide](https://on.cypress.io/migration-guide) which explains the changes in more detail and how to change your code to migrate to Cypress 4.0.** - Mocha, Chai, and Sinon.JS has been upgraded which includes a number of breaking changes and new features. Addresses [#​2528](https://togithub.com/cypress-io/cypress/issues/2528), [#​2529](https://togithub.com/cypress-io/cypress/issues/2529), [#​2866](https://togithub.com/cypress-io/cypress/issues/2866). - During `before:browser:launch`, we no longer yield the second argument as an array of browser arguments and instead yield an `options` object with an `args` property in order to support more advanced browser launch options. Addresses [#​6306](https://togithub.com/cypress-io/cypress/issues/6306). - We updated the [Cypress browser objects](https://on.cypress.io/browser-launch-api) of all Chromium-based browsers, including Electron, to have `chromium` set as their `family` field. Addresses [#​6243](https://togithub.com/cypress-io/cypress/issues/6243). - The [`--browser` flag](https://on.cypress.io/command-line#cypress-run-browser-lt-browser-name-or-path-gt) no longer accepts `canary` as its sole argument to run Chrome Canary. You now have to specify `chrome:canary` to use the Chrome Canary browser. Addresses [#​6243](https://togithub.com/cypress-io/cypress/issues/6243). - [`cy.writeFile()`](https://on.cypress.io/writefile) now yields `null` instead of the contents written to the file in order to more align with the behavior of `fs`. Addresses [#​2466](https://togithub.com/cypress-io/cypress/issues/2466). - Installing Cypress on your system now requires Node.js 8+. Addresses [#​5632](https://togithub.com/cypress-io/cypress/issues/5632). - Cypress no longer support CJSX. Addresses [#​3469](https://togithub.com/cypress-io/cypress/issues/3469). **Features:** - [Mozilla Firefox](https://www.mozilla.org/firefox/) browsers now have beta support. Addresses [#​1096](https://togithub.com/cypress-io/cypress/issues/1096). - [Microsoft Edge](https://www.microsoft.com/edge) (Chromium based) browsers are now supported. Addresses [#​5433](https://togithub.com/cypress-io/cypress/issues/5433). - There is a new [`Cypress.isBrowser()`](https://on.cypress.io/isbrowser) utility function. Addresses [#​2023](https://togithub.com/cypress-io/cypress/issues/2023). - We updated the [`Cypress.browser`](https://on.cypress.io/browser) object with a new `channel` property which contains the release channel of the detected browser. Addresses [#​6243](https://togithub.com/cypress-io/cypress/issues/6243). - Appending `.only` to multiple tests or suites will now run all tests with the `.only` property. Addresses [#​2828](https://togithub.com/cypress-io/cypress/issues/2828). - The [`isFinite` assertion](https://on.cypress.io/assertions) is now supported. Addresses [#​5669](https://togithub.com/cypress-io/cypress/issues/5669). - The `empty` assertion is now supported when used against Map objects. Addresses [#​6072](https://togithub.com/cypress-io/cypress/issues/6072). - The `nested` assertion chainer property is now supported. Addresses [#​3080](https://togithub.com/cypress-io/cypress/issues/3080) and [#​5004](https://togithub.com/cypress-io/cypress/issues/5004). **Bugfixes:** - A test or suite appended with an `.only` when multiple tests or suites contained the same title now run correctly. Fixes [#​5345](https://togithub.com/cypress-io/cypress/issues/5345). - The [`.its()`](https://on.cypress.io/its) command now properly supports 0 as a value for indexes or object keys. Fixes [#​6216](https://togithub.com/cypress-io/cypress/issues/6216). **Documentation Changes:** - Added [Cross Browser Testing Guide](https://on.cypress.io/cross-browser-testing) with helpful CI strategies to consider when running tests across multiple browsers. - Added [`Cypress.isBrowser()`](https://on.cypress.io/isbrowser) doc. **Misc:** - We now pass through errors caused when attempting to read arguments passed through [`config`](https://on.cypress.io/configuration-api). Addresses [#​6279](https://togithub.com/cypress-io/cypress/issues/6279). - We fixed a broken 'Learn more' link within the Node.js Version panel of the Test Runner Settings. Addresses [#​6237](https://togithub.com/cypress-io/cypress/issues/6237). - The browser icons in the Test Runner now display as images with the proper branding. Addresses [#​6188](https://togithub.com/cypress-io/cypress/issues/6188). - We updated the styling of browser dropdown in the Test Runner to look more like a button. Addresses [#​6298](https://togithub.com/cypress-io/cypress/issues/6298). - The timer in the Test Runner now always displays at a consistent length. Addresses [#​6168](https://togithub.com/cypress-io/cypress/issues/6168). - You can print debug information about the memory & CPU usage of Cypress, which can be accessed by enabling the [`cypress:server:util:process_profiler` debug stream](https://on.cypress.io/debugging#Log-memory-and-CPU-usage). Addresses [#​6169](https://togithub.com/cypress-io/cypress/issues/6169). - We added types for plugin events. Addresses [#​6322](https://togithub.com/cypress-io/cypress/issues/6322). **Dependency Updates** - Added `@benmalka/foxdriver`. Addressed in [#​1359](https://togithub.com/cypress-io/cypress/pull/1359). - Upgraded `@cypress/browserify-preprocessor` from `1.1.2` to `2.1.1`. Addressed in [#​4308](https://togithub.com/cypress-io/cypress/pull/4308) and [#​4226](https://togithub.com/cypress-io/cypress/pull/4226). - Upgraded `bluebird` from `3.5.0` to `3.7.2`. Addressed in [#​4226](https://togithub.com/cypress-io/cypress/pull/4226). - Upgraded `cachedir` from `1.3.0` to `2.3.0`. Addressed in [#​4208](https://togithub.com/cypress-io/cypress/pull/4208) and [#​4226](https://togithub.com/cypress-io/cypress/pull/4226). - Upgraded `chai` from `3.5.0` to `4.2.0`. Addressed in [#​2862](https://togithub.com/cypress-io/cypress/pull/2862) and [#​4226](https://togithub.com/cypress-io/cypress/pull/4226). - Upgraded `chai-as-promised` from `6.0.0` to `7.1.1`. Addressed in [#​4226](https://togithub.com/cypress-io/cypress/pull/4226). - Upgraded `chalk` from `2.4.0` to `3.0.0`. Addressed in [#​4226](https://togithub.com/cypress-io/cypress/pull/4226). - Upgraded `commander` from `2.15.1` to `4.0.1`. Addressed in [#​4208](https://togithub.com/cypress-io/cypress/pull/4208) and [#​4226](https://togithub.com/cypress-io/cypress/pull/4226). - Upgraded `debug` from `2.15.1` to `4.0.1`. Addressed in [#​4226](https://togithub.com/cypress-io/cypress/pull/4226). - Upgraded `execa` from `0.10.0` to `3.3.0`. Addressed in [#​4226](https://togithub.com/cypress-io/cypress/pull/4226). - Added `firefox-profiler`. Addressed in [#​1359](https://togithub.com/cypress-io/cypress/pull/1359). - Added `foxdriver`. Addressed in [#​1359](https://togithub.com/cypress-io/cypress/pull/1359). - Upgraded `fs-extra` from `5.0.0` to `8.1.0`. Addressed in [#​4226](https://togithub.com/cypress-io/cypress/pull/4226). - Upgraded `getos` from `3.1.1` to `3.1.4`. Addressed in [#​4226](https://togithub.com/cypress-io/cypress/pull/4226). - Upgraded `is-ci` from `1.2.1` to `2.0.0`. Addressed in [#​4226](https://togithub.com/cypress-io/cypress/pull/4226). - Upgraded `mocha` from `2.5.3` to `7.0.1`. Addressed in [#​2703](https://togithub.com/cypress-io/cypress/pull/2703) and [#​4226](https://togithub.com/cypress-io/cypress/pull/4226). - Upgraded `listr` from `0.12.0` to `0.14.3`. Addressed in [#​4226](https://togithub.com/cypress-io/cypress/pull/4226). - Upgraded `log-symbols` from `2.2.0` to `3.0.0`. Addressed in [#​4226](https://togithub.com/cypress-io/cypress/pull/4226). - Added `marionette-client`. Addressed in [#​1359](https://togithub.com/cypress-io/cypress/pull/1359). - Upgraded `ramda` from `0.24.1` to `0.26.1`. Addressed in [#​4226](https://togithub.com/cypress-io/cypress/pull/4226). - Upgraded `sinon` from `3.2.0` to `8.1.1`. Addressed in [#​2881](https://togithub.com/cypress-io/cypress/pull/2881) and [#​4226](https://togithub.com/cypress-io/cypress/pull/4226). - Upgraded `strip-ansi` from `3.0.1` to `6.0.0`. Addressed in [#​1359](https://togithub.com/cypress-io/cypress/pull/1359). - Added `systeminformation`. Addressed in [#​1359](https://togithub.com/cypress-io/cypress/pull/1359). - Upgraded `support-colors` from `5.5.0` to `7.1.0`. Addressed in [#​4208](https://togithub.com/cypress-io/cypress/pull/4208) and [#​4226](https://togithub.com/cypress-io/cypress/pull/4226). - Upgraded `untildify` from `3.0.3` to `4.0.0`. Addressed in [#​4226](https://togithub.com/cypress-io/cypress/pull/4226). ### [`v3.8.3`](https://togithub.com/cypress-io/cypress/releases/tag/v3.8.3) [Compare Source](https://togithub.com/cypress-io/cypress/compare/v3.8.2...v3.8.3) *Released 1/24/2020* **Bugfixes:** - We fixed an error during `cypress run` indicating `could not find CRI target` when Cypress was unable to find the tab to control. Fixes [#​6053](https://togithub.com/cypress-io/cypress/issues/6053). - HTTP requests to sites using a TLS version lower than 1.2 now no longer fail. Fixes [#​5446](https://togithub.com/cypress-io/cypress/issues/5446). - `cypress verify` will no longer error on some systems when `-screen` is not defined. Fixes [#​6184](https://togithub.com/cypress-io/cypress/issues/6184). - We fixed a regression in [3.5.0](https://on.cypress.io/changelog-3-5-0) causing [`cy.type({ force: true })`](https://on.cypress.io/type) to no longer forcibly type characters for readonly inputs. Fixes [#​6116](https://togithub.com/cypress-io/cypress/issues/6116). - Generated reports when using [custom reporters](https://on.cypress.io/reporters) now have a defined `file` property. Fixes [#​1495](https://togithub.com/cypress-io/cypress/issues/1495). **Misc:** - Messages from [`cy.get()`](https://on.cypress.io/get) are now truncated at 50 lines the Command Log instead of the 1 line. Addresses [#​6145](https://togithub.com/cypress-io/cypress/issues/6145). - We now collect more environment variables for Bamboo CI when recording for the Dashboard. Addresses [#​4895](https://togithub.com/cypress-io/cypress/issues/4895). **Dependency Updates:** - Upgraded `electron` from `7.1.9` to `7.1.10`. Addressed in [#​6242](https://togithub.com/cypress-io/cypress/pull/6242). - Upgraded `electron` from `7.1.7` to `7.1.9`. Addressed in [#​6180](https://togithub.com/cypress-io/cypress/pull/6180). - Upgraded `http-status-codes` from `1.3.2` to `1.4.0`. Addressed in [#​6134](https://togithub.com/cypress-io/cypress/pull/6134). - Upgraded `socket.io` and `socket.io-client` from `2.2.0` to `2.3.0`. Addressed in [#​6179](https://togithub.com/cypress-io/cypress/pull/6179). ### [`v3.8.2`](https://togithub.com/cypress-io/cypress/releases/tag/v3.8.2) [Compare Source](https://togithub.com/cypress-io/cypress/compare/v3.8.1...v3.8.2) *Released 01/10/2020* **Bugfixes:** - We fixed a regression in [3.8.0](https://on.cypress.io/changelog-3-8-0) on Linux when `unzip` is not installed where the progress of `cypress install` would show up to 200%. Fixes [#​5967](https://togithub.com/cypress-io/cypress/issues/5967) - Child elements of an element that uses both `transform` and `height` or `width` are now properly seen as visible during visiblity checks. Addresses [#​5974](https://togithub.com/cypress-io/cypress/issues/5974). - We now properly check backface visibility when the parents of a target element have the CSS style `transform-style: preserve-3d`. Fixes [#​5682](https://togithub.com/cypress-io/cypress/issues/5682). - DOM elements with a width or height of 0 and `overflow: hidden` are now properly calculated as invisible during visibility checks. Fixes [#​6093](https://togithub.com/cypress-io/cypress/issues/6093). - We fixed a regression in [3.7.0](https://on.cypress.io/changelog-3-7-0) where using [`.type()`](https://on.cypress.io/type) on number inputs to type non-number characters would not type the correct value. Fixes [#​6055](https://togithub.com/cypress-io/cypress/issues/6055). **Misc:** - Messages from [`cy.log()`](https://on.cypress.io/log) are now truncated at 50 lines the Command Log instead of the 1 line. Addresses [#​5625](https://togithub.com/cypress-io/cypress/issues/5625). - We now capture GitLab CI's `CI_JOB_NAME` environment variable. Addressed in [#​6111](https://togithub.com/cypress-io/cypress/pull/6111). - Types for [event emitters](https://on.cypress.io/catalog-of-events#Binding-to-Events) `removeListener` and `removeAllListeners` have been added to `Cypress` and `cy`. Addresses [#​5228](https://togithub.com/cypress-io/cypress/issues/5228). - Types for the `runUrl` property returned from `cypress.run()` has been added. Addresses [#​6087](https://togithub.com/cypress-io/cypress/issues/6087). - We're continuing to make progress in converting our codebase from CoffeeScript to JavaScript. Addresses [#​2690](https://togithub.com/cypress-io/cypress/issues/2690) in [#​5947](https://togithub.com/cypress-io/cypress/pull/5947) and [#​6075](https://togithub.com/cypress-io/cypress/pull/6075). **Dependency Updates:** - Upgraded `ansi_up` from `4.0.3` to `4.0.4`. Addressed in [#​6074](https://togithub.com/cypress-io/cypress/pull/6074). - Upgraded `electron` from `7.1.4` to `7.1.7`. Addressed in [#​6085](https://togithub.com/cypress-io/cypress/pull/6085). ### [`v3.8.1`](https://togithub.com/cypress-io/cypress/releases/tag/v3.8.1) [Compare Source](https://togithub.com/cypress-io/cypress/compare/v3.8.0...v3.8.1) *Released 12/26/2019* **Bugfixes:** - We fixed a bug where [`cypress run --headless`](https://on.cypress.io/command-line#cypress-run-headless) would not run Chrome-family browsers headlessly. Fixes [#​5949](https://togithub.com/cypress-io/cypress/issues/5949). - We fixed an issue where, on some systems with IPv4 and IPv6 enabled, Cypress would fail to connect to the Chrome DevTools Protocol while launching Chrome, leading to test failures. Fixes [#​5912](https://togithub.com/cypress-io/cypress/issues/5912). - The strict cookie validation added in [3.5.0](https://on.cypress.io/changelog-3-5-0) for [`cy.setCookie()`](https://on.cypress.io/setcookie), [`cy.clearCookie()`](https://on.cypress.io/clearcookie), and [`cy.getCookie()`](https://on.cypress.io/getcookie) has been removed. Fixes [#​5642](https://togithub.com/cypress-io/cypress/issues/5642). - We fixed a regression in [3.8.0](https://on.cypress.io/changelog-3-8-0) where using [`.type()`](https://on.cypress.io/type) on number inputs to type non-number characters or the `{enter}` special character would not type the correct value. Fixes [#​5968](https://togithub.com/cypress-io/cypress/issues/5968) and [#​5997](https://togithub.com/cypress-io/cypress/issues/5997). - Configuration values set from the plugin file now display with the correct background color in the Configuration panel in the Test Runner Settings. Fixes [#​6024](https://togithub.com/cypress-io/cypress/issues/6024). - We removed the 'Me' and 'An Organization' selections in the Test Runner when setting up a project to more closely match the Dashboard UI. This also fixes an edge case where a user with no default organizations could potentially be unable to set up a project. Fixes [#​5954](https://togithub.com/cypress-io/cypress/issues/5954). **Misc:** - We updated the fallback error message for visibility checks to be less confusing. Addresses [#​5982](https://togithub.com/cypress-io/cypress/issues/5982). - The type definitions for [`cy.location()`](https://on.cypress.io/location) have been improved. Addresses [#​5574](https://togithub.com/cypress-io/cypress/issues/5574). **Dependency Updates:** - Upgraded `get-port` from `5.0.0` to `5.1.0`. Addressed in [#​6004](https://togithub.com/cypress-io/cypress/pull/6004). - Upgraded `chrome-remote-interface` from `0.28.0` to `0.28.1`. Addressed in [#​6008](https://togithub.com/cypress-io/cypress/pull/6008). - Upgraded `which` from `1.3.1` to `2.0.2`. Addressed in [#​6017](https://togithub.com/cypress-io/cypress/pull/6017). - Upgraded `ansi_up` from `1.3.0` to `4.0.3`. Addressed in [#​4331](https://togithub.com/cypress-io/cypress/pull/4331). - Upgraded `jimp` from `0.6.4` to `0.9.3`. Addressed in [#​4331](https://togithub.com/cypress-io/cypress/pull/4331). ### [`v3.8.0`](https://togithub.com/cypress-io/cypress/releases/tag/v3.8.0) [Compare Source](https://togithub.com/cypress-io/cypress/compare/v3.7.0...v3.8.0) *Released 12/12/2019* **Features:** - Chrome can now be run in headless mode by using `cypress run --headless --browser chrome`. Addresses [#​832](https://togithub.com/cypress-io/cypress/issues/832). - Cypress now accepts a [`--tag`](https://on.cypress.io/command-line#cypress-run-tag-lt-tag-gt) argument to be used to identify separate runs. Any tags assigned will be shown on the run in the Cypress Dashboard. Addresses [#​2561](https://togithub.com/cypress-io/cypress/issues/2561). - The commands [`.its()`](https://on.cypress.io/its) and [`.invoke()`](https://on.cypress.io/invoke) now accept an `options` object to allow changing logging options. Addresses [#​1450](https://togithub.com/cypress-io/cypress/issues/1450). - Cypress will now attempt to use the `unzip` binary during `cypress install` before trying the slower, Node.js-based unzipping method. Addresses [#​3803](https://togithub.com/cypress-io/cypress/issues/3803). - Upgraded Electron to 7.1.4. This bumps the internal Node version to 12.8.1 and the internal Chromium version to 78.0.3904.113. **Bugfixes:** - We fixed a regression in [3.5.0](https://on.cypress.io/changelog-3-5-0) where Cypress would crash on Windows when trying to pass a url through `--config` or `--env` command line flags. Fixes [#​5466](https://togithub.com/cypress-io/cypress/issues/5466). - We fixed a regression in [3.5.0](https://on.cypress.io/changelog-3-5-0) where a supplied `Cookie` header during "`cy.visit()` visit or [`cy.request()`](https://on.cypress.io/request) would be overwritten by the `Cookie` header generated from the browser's cookie store. Fixes [#​5894](https://togithub.com/cypress-io/cypress/issues/5894). - We fixed a regression in [3.5.0](https://on.cypress.io/changelog-3-5-0) where [`cy.getCookie()`](https://on.cypress.io/getcookie) would incorrectly filter cookies by their domain, leading to unexpected results. Fixes [#​5656](https://togithub.com/cypress-io/cypress/issues/5656). - We fixed a regression in [3.5.0](https://on.cypress.io/changelog-3-5-0) where calling `.type({ force: true })` on hidden inputs would not type the correct characters. Fixes [#​5835](https://togithub.com/cypress-io/cypress/issues/5835). - We fixed a regression in [3.5.0](https://on.cypress.io/changelog-3-5-0) where [`.type()`](https://on.cypress.io/type) was not respecting previous selections if the current value of the input was the same as the key. This also fixed an where [`.type()`](https://on.cypress.io/type) would not respect previous selections in non-selectionRange inputs (like email or number inputs). Fixes [#​5703](https://togithub.com/cypress-io/cypress/issues/5703). - During visibility checks, Cypress now properly evaluates a DOM element transformed by `scale(0)` or `rotateY(90deg)` as not visible. Fixes [#​723](https://togithub.com/cypress-io/cypress/issues/723). - Fixed a bug where the specs list in interactive mode would not refresh when files are changed on disk. Fixes [#​5933](https://togithub.com/cypress-io/cypress/issues/5933). - `env` configuration option displays properly within the settings panel. Previously, setting env options would incorrectly render `"undefined"` as the value. Fixes [#​5859](https://togithub.com/cypress-io/cypress/issues/5859). **Misc:** - We removed the max viewport size and lowered min viewport size to `0` for [`cy.viewport()`](https://on.cypress.io/viewport) Addresses [#​5871](https://togithub.com/cypress-io/cypress/issues/5871) and [#​5892](https://togithub.com/cypress-io/cypress/issues/5892). - The Test Runner now shows a non-Chrome logo for [browsers passed in via `config.browser`](https://on.cypress.io/launching-browsers#Customize-available-browsers) that are not of the Chrome family. It also supports showing the Firefox logo (in preparation for Firefox browser support). Fixes [#​5745](https://togithub.com/cypress-io/cypress/issues/5745). - We updated the look of some of our icons. Addressed in [#​5822](https://togithub.com/cypress-io/cypress/pull/5822). - We're continuing to make progress in converting our codebase from CoffeeScript to JavaScript. Addresses [#​2690](https://togithub.com/cypress-io/cypress/issues/2690) in [#​5643](https://togithub.com/cypress-io/cypress/pull/5643). - `cy.request` will now automatically encode special characters in the request URL, including Unicode. Addresses [#​5274](https://togithub.com/cypress-io/cypress/issues/5274). - You can pass additional Electron launch command line arguments using environment variable `ELECTRON_EXTRA_LAUNCH_ARGS`. Addresses [#​5807](https://togithub.com/cypress-io/cypress/issues/5807). **Dependency Updates:** - Upgraded `ansi-escapes` from `4.2.1` to `4.3.0`. Addressed in [#​5815](https://togithub.com/cypress-io/cypress/pull/5815). - Upgraded `electron-context-menu` from `0.11.0` to `0.15.1`. Addressed in [#​5495](https://togithub.com/cypress-io/cypress/pull/5495). ### [`v3.7.0`](https://togithub.com/cypress-io/cypress/releases/tag/v3.7.0) [Compare Source](https://togithub.com/cypress-io/cypress/compare/v3.6.1...v3.7.0) *Released 11/27/2019* **Features:** - Cypress now includes the full list of browsers found and their properties within the Cypress configuration. This means that the `browsers` array is also [editable within plugins by accessing `config.browsers`](https://on.cypress.io/launching-browsers#Customize-available-browsers) via the [Configuration API](https://on.cypress.io/configuration-api). The currently available browsers are also displayed within the [configuration panel](https://on.cypress.io/configuration#Resolved-Configuration) under Settings in the Test Runner. Addresses [#​5067](https://togithub.com/cypress-io/cypress/issues/5067). - Environment variables within GitHub Actions are now detected and passed to the Dashboard in order to display the proper [git information](https://on.cypress.io/continuous-integration#Git-information) for recorded runs. Fixes [#​5609](https://togithub.com/cypress-io/cypress/issues/5609). **Bugfixes:** - Fixed a regression in 3.5.0 where a `cy.visit` that changes superdomain would incorrectly clear cookies of other domains. Fixes [#​5756](https://togithub.com/cypress-io/cypress/issues/5756). - Fixed a regression in 3.5.0 where cookies set in a redirect on a `cy.visit` or in a `cy.request` with a custom `Domain` that is not a subdomain of the current domain would fail to set. Fixes [#​5656](https://togithub.com/cypress-io/cypress/issues/5656). - Fixed a regression introduced in 3.5.0 which caused `cy.type` to send duplicate modifier keys. Fixes [#​5622](https://togithub.com/cypress-io/cypress/issues/5622). - We fixed a regression in [3.6.1](https://on.cypress.io/changelog-3-6-1) where [cy.request()](https://on.cypress.io/request) with `followRedirect: false` would fail if a `Set-Cookie` header was present in the response. Fixes [#​5654](https://togithub.com/cypress-io/cypress/issues/5654). - The context of `window` is no longer `undefined` within the application under test when called within a `setTimeout` during strict mode. Fixes [#​5707](https://togithub.com/cypress-io/cypress/issues/5707). - Cypress now captures the SHA of builds generated through Travis CI during pull requests. This should resolve issues with Cypress status checks sometimes not running within [GitHub Integration](https://on.cypress.io/github-integration). Fixes [#​5728](https://togithub.com/cypress-io/cypress/issues/5728). - Cypress now automatically strips double quotes from [`--ci-build-id`](https://on.cypress.io/command-line#cypress-run-ci-build-id-lt-id-gt) and [`group`](https://on.cypress.io/command-line#cypress-run-group-lt-name-gt) flag arguments during `cypress run`. Fixes [#​5686](https://togithub.com/cypress-io/cypress/issues/5686). - Assertions printed in the [Command Log](https://on.cypress.io/test-runner#Command-Log) now correctly identify integers from string integers. Fixes [#​25](https://togithub.com/cypress-io/cypress/issues/25). - Empty spaces are now accurately reflected in the [Command Log](https://on.cypress.io/test-runner#Command-Log) within assertions. Fixes [#​1360](https://togithub.com/cypress-io/cypress/issues/1360). - Keys printed in the [Command Log](https://on.cypress.io/test-runner#Command-Log) when using the `have.all.keys` assertion now correctly display. Fixes [#​753](https://togithub.com/cypress-io/cypress/issues/753). - We fixed an issue where Cypress would throw an error when using [`cy.visit()`](https://on.cypress.io/visit) on a `cleverapp.io` domain. Fixes [#​5722](https://togithub.com/cypress-io/cypress/issues/5722). - Fixed a bug where fixtures consisting only of `null` would cause an error. Fixes [#​472](https://togithub.com/cypress-io/cypress/issues/472). - Fixed a bug where, if the Test Runner child process is killed with a signal and does not exit normally, the npm CLI process would not exit with an error. Fixes [#​5808](https://togithub.com/cypress-io/cypress/issues/5808). **Misc:** - Added a new, more specific error message when an item is not visible because it has `position: fixed` and is being overflowed over. Addresses [#​1379](https://togithub.com/cypress-io/cypress/issues/1379). - `cy.visit`s that cause a superdomain change will now result in 2 requests to the origin server. This should not affect tests, as tests will still re-run on a superdomain change. This is a side-effect of the fix for [#​5756](https://togithub.com/cypress-io/cypress/issues/5756). - The configuration object returned from the plugins file is now validated and will throw a helpful error message when invalid. Addresses [#​5712](https://togithub.com/cypress-io/cypress/issues/5712). - The [configuration panel](https://on.cypress.io/configuration#Resolved-Configuration) under Settings in the Test Runner now has a white background for better readability. Also each configuration option with nested properties is now collapsible. Addressed in [#​5068](https://togithub.com/cypress-io/cypress/pull/5068). **Dependency Updates:** - Upgraded `parse-domain` from `2.0.0` to `2.3.4`. Addressed in [#​5726](https://togithub.com/cypress-io/cypress/pull/5726). ### [`v3.6.1`](https://togithub.com/cypress-io/cypress/releases/tag/v3.6.1) [Compare Source](https://togithub.com/cypress-io/cypress/compare/v3.6.0...v3.6.1) *Released 11/08/2019* **Bugfixes:** - The Electron browser no longer hangs when testing applications that have a prompt in a `beforeunload` handler. Fixes [#​2118](https://togithub.com/cypress-io/cypress/issues/2118). - We fixed a regression in [3.5.0](https://on.cypress.io/changelog-3-5-0) where HTTP redirects could cause strange behavior, including cookies not being set as expected, leading to authentication issues and other problems. Fixes [#​5436](https://togithub.com/cypress-io/cypress/issues/5436) and [#​5432](https://togithub.com/cypress-io/cypress/issues/5432). - When using [`cy.setCookie()`](https://on.cypress.io/setcookie) with the same `options` Object, Cypress now correctly sets the new cookie instead of the one passed into a previous [`cy.setCookie()`](https://on.cypress.io/setcookie). Fixes [#​2701](https://togithub.com/cypress-io/cypress/issues/2701). - We fixed a regression in [3.5.0](https://on.cypress.io/changelog-3-5-0) where [`cy.clearCookie()`](https://on.cypress.io/clearcookie) would not act as expected when using certain `baseUrls`. Fixes [#​5453](https://togithub.com/cypress-io/cypress/issues/5453). - Cypress no longer crashes with the error `Failed to parse or set cookie named "xxx"` when loading certain websites. Fixes [#​4990](https://togithub.com/cypress-io/cypress/issues/4990). - Cypress now sends the expected headers or request body in a [`cy.visit()`](https://on.cypress.io/visit) to an HTTPS URL using the default port, 443. Fixes [#​5367](https://togithub.com/cypress-io/cypress/issues/5367). - We fixed a regression in [3.6.0](https://on.cypress.io/changelog-3-6-0) where Cypress would crash with `TypeError: Cannot read property 'length' of null` on some network requests. Fixes [#​5585](https://togithub.com/cypress-io/cypress/issues/5585). - We fixed a regression in [3.5.0](https://on.cypress.io/changelog-3-5-0) that caused the red target to be rendered incorrectly when specifying offset coordinates to [`.click()`](https://on.cypress.io/click). Fixes [#​5635](https://togithub.com/cypress-io/cypress/issues/5635). - We fixed a regression in [3.6.0](https://on.cypress.io/changelog-3-6-0) that was causing an incorrect element to receive the `click` event during action commands. Fixes [#​5578](https://togithub.com/cypress-io/cypress/issues/5578). - We fixed a regression in [3.5.0](https://on.cypress.io/changelog-3-5-0) causing text after using modifier keys in [`.type()`](https://on.cypress.io/type) to not be typed. Fixes [#​5622](https://togithub.com/cypress-io/cypress/issues/5622). - Elements with `backface-visibility: hidden;` are now accounted for when asserting on the elemtent's visibility. Fixes [#​2985](https://togithub.com/cypress-io/cypress/issues/2985). - We fixed a bug where a failed Cypress commands would incorrectly throw `cannot read property 'replace' of undefined` if the error's stack was `undefined`. Fixes [#​1669](https://togithub.com/cypress-io/cypress/issues/1669). - The 'Log In' modal within Cypress when setting up a project now correctly closes when manually closed. Fixes [#​5631](https://togithub.com/cypress-io/cypress/issues/5631). **Misc:** - We improved the user experience around inspecting events fired during [`.click()`](https://on.cypress.io/click) and [`.type()`](https://on.cypress.io/type) commands within the console. Addresses [#​5553](https://togithub.com/cypress-io/cypress/issues/5553). - We increased the timeout when connecting to the "Developer Tools Protocol" from 5 seconds to 20 seconds and also added logging for when the connection takes longer than 5 seconds. Addresses [#​5610](https://togithub.com/cypress-io/cypress/issues/5610). - There is no longer a warning about `Promise.defer` appearing in stderr when running with video recording enabled. Addresses [#​5611](https://togithub.com/cypress-io/cypress/issues/5611). - Types for [`.rightclick()`](https://on.cypress.io/rightclick) and [`.dblclick()`](https://on.cypress.io/dblclick) have been updated to correctly reflect their accepted options. Addresses [#​5617](https://togithub.com/cypress-io/cypress/issues/5617). - We're continuing to make progress in converting our codebase from CoffeeScript to JavaScript. Addresses [#​2690](https://togithub.com/cypress-io/cypress/issues/2690) in [#​5556](https://togithub.com/cypress-io/cypress/pull/5556) ### [`v3.6.0`](https://togithub.com/cypress-io/cypress/releases/tag/v3.6.0) [Compare Source](https://togithub.com/cypress-io/cypress/compare/v3.5.0...v3.6.0) *Released 10/31/2019* **Features:** - [`testFiles`](https://on.cypress.io/configuration#Folders-Files) now also accepts an Array of glob patterns when specifying what test files to load in configuration. Addresses [#​5401](https://togithub.com/cypress-io/cypress/issues/5401). **Bugfixes:** - We fixed a regression in [3.5.0](https://on.cypress.io/changelog-3-5-0) where the maximum size of an HTTP header or body in a stubbed [`cy.route()`](https://on.cypress.io/route) was limited to 8kb causing requests to fail with a 431 HTTP error. Fixes [#​5431](https://togithub.com/cypress-io/cypress/issues/5431). - We fixed a bug where certain types of uncaught errors originating from the application under test would not route through the [`uncaught:exception`](https://on.cypress.io/catalog-of-events#Uncaught-Exceptions) handler, and thus could not caught and ignored. These errors will also now correctly indicate that they came from application code. Fixes [#​987](https://togithub.com/cypress-io/cypress/issues/987). - We fixed a regression in [3.5.0](https://on.cypress.io/changelog-3-5-0) that would throw an error during `cypress verify` when running as a non-root user on a non-Windows machine. We now always set the `--no-sandbox` flag when verifying in Electron, even when running as a non-root user. Fixes [#​5434](https://togithub.com/cypress-io/cypress/issues/5434). - We fixed a regression in [3.5.0](https://on.cypress.io/changelog-3-5-0) where sometimes cookies were not set on the correct URL during a redirect inside of a [`cy.visit()`](https://on.cypress.io/visit) or [`cy.request()`](https://on.cypress.io/request). Fixes [#​5432](https://togithub.com/cypress-io/cypress/issues/5432). - We fixed a regression in [3.5.0](https://on.cypress.io/changelog-3-5-0) causing environment variables containing unicode values to be incorrectly resolved when read via [`Cypress.env()`](https://on.cypress.io/env). Fixes [#​5435](https://togithub.com/cypress-io/cypress/issues/5435). - We fixed a regression in [3.5.0](https://on.cypress.io/changelog-3-5-0) that prevented use of `.click()` or `.type()` inside of an iframe element. Fixes [#​5449](https://togithub.com/cypress-io/cypress/issues/5449). Fixes [#​5435](https://togithub.com/cypress-io/cypress/issues/5435). - We now throw the proper error message when an element cannot be interacted with due to being covered by an element with `position:fixed`. Fixes [#​5430](https://togithub.com/cypress-io/cypress/issues/5430). - We fixed a regression in [3.5.0](https://on.cypress.io/changelog-3-5-0) that caused some `click` events to not be sent to the correct elements during `.click()`. Fixes [#​5459](https://togithub.com/cypress-io/cypress/issues/5459). - We updated `.type()` to properly respect focus selection changes during typing. Fixes [#​5456](https://togithub.com/cypress-io/cypress/issues/5456). - We fixed a regression in [3.5.0](https://on.cypress.io/changelog-3-5-0) that caused selected text to be overwritten while typing a modifer key during `.type()`. Fixes [#​5439](https://togithub.com/cypress-io/cypress/issues/5439). - We now send all the proper events during `.type()` to input elements with type `date`, `time`, and `datetime-local` so that it now behaves as it did prior to [3.5.0](https://on.cypress.io/changelog-3-5-0). Fixes [#​5476](https://togithub.com/cypress-io/cypress/issues/5476). - We now properly render iframe placeholder content when previewing DOM snapshots. Fixes [#​5295](https://togithub.com/cypress-io/cypress/issues/5295). **Misc:** - We no longer log the default option `{multiple: true}` in the Command Log or the console during [`cy.dblclick()`](https://on.cypress.io/dblclick). Addresses [#​5406](https://togithub.com/cypress-io/cypress/issues/5406). - The text color of inactive tabs within the Cypress Chrome browser has been set to white for better readability. Addresses [#​1661](https://togithub.com/cypress-io/cypress/issues/1661). **Dependency Updates** - Replaced `express-handlebars` with `squirrelly` to reduce dependency size. Addressed in [#​5521](https://togithub.com/cypress-io/cypress/pull/5521). - Upgraded `graceful-fs` from `4.2.0` to `4.2.3`. Addressed in [#​5497](https://togithub.com/cypress-io/cypress/pull/5497). ### [`v3.5.0`](https://togithub.com/cypress-io/cypress/releases/tag/v3.5.0) [Compare Source](https://togithub.com/cypress-io/cypress/compare/v3.4.1...v3.5.0) *Released 10/23/2019* **Features:** - We now record video during `cypress run` in Chrome, Chromium, and Canary browsers. This requires passing the name or path of the Chrome browser to the [`--browser` flag](https://on.cypress.io/command-line#cypress-run-browser-lt-browser-name-or-path-gt). Addresses [#​4608](https://togithub.com/cypress-io/cypress/issues/4608). - There is a new [`.rightclick()`](https://on.cypress.io/rig