cypress-io/cypress
### [`v3.7.0`](https://togithub.com/cypress-io/cypress/releases/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/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)
Renovate configuration
:date: Schedule: "after 10pm,before 6am" in timezone America/New_York.
:vertical_traffic_light: Automerge: Disabled by config. Please merge this manually once you are satisfied.
: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.
[ ] If you want to rebase/retry this PR, check this box
Newsflash: Renovate has joined WhiteSource, and is now free for all use. Learn more or view updated terms and privacy policies.
This PR contains the following updates:
3.6.0
->3.7.0
Release Notes
cypress-io/cypress
### [`v3.7.0`](https://togithub.com/cypress-io/cypress/releases/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/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)Renovate configuration
:date: Schedule: "after 10pm,before 6am" in timezone America/New_York.
:vertical_traffic_light: Automerge: Disabled by config. Please merge this manually once you are satisfied.
: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.
Newsflash: Renovate has joined WhiteSource, and is now free for all use. Learn more or view updated terms and privacy policies.