Skip to content
This repository was archived by the owner on Feb 28, 2024. It is now read-only.

chore(deps): update dependency cypress to version 3.8.3 🌟 #19

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented Mar 26, 2020

This PR contains the following updates:

Package Type Update Change
cypress devDependencies minor 3.5.0 -> 3.8.3

Release Notes

cypress-io/cypress

v3.8.3

Compare Source

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.
  • HTTP requests to sites using a TLS version lower than 1.2 now no longer fail. Fixes #​5446.
  • cypress verify will no longer error on some systems when -screen is not defined. Fixes #​6184.
  • We fixed a regression in 3.5.0 causing cy.type({ force: true }) to no longer forcibly type characters for readonly inputs. Fixes #​6116.
  • Generated reports when using custom reporters now have a defined file property. Fixes #​1495.

Misc:

  • Messages from cy.get() are now truncated at 50 lines the Command Log instead of the 1 line. Addresses #​6145.
  • We now collect more environment variables for Bamboo CI when recording for the Dashboard. Addresses #​4895.

Dependency Updates:

  • Upgraded electron from 7.1.9 to 7.1.10. Addressed in #​6242.
  • Upgraded electron from 7.1.7 to 7.1.9. Addressed in #​6180.
  • Upgraded http-status-codes from 1.3.2 to 1.4.0. Addressed in #​6134.
  • Upgraded socket.io and socket.io-client from 2.2.0 to 2.3.0. Addressed in #​6179.

v3.8.2

Compare Source

Released 01/10/2020

Bugfixes:

  • We fixed a regression in 3.8.0 on Linux when unzip is not installed where the progress of cypress install would show up to 200%. Fixes #​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.
  • We now properly check backface visibility when the parents of a target element have the CSS style transform-style: preserve-3d. Fixes #​5682.
  • DOM elements with a width or height of 0 and overflow: hidden are now properly calculated as invisible during visibility checks. Fixes #​6093.
  • We fixed a regression in 3.7.0 where using .type() on number inputs to type non-number characters would not type the correct value. Fixes #​6055.

Misc:

  • Messages from cy.log() are now truncated at 50 lines the Command Log instead of the 1 line. Addresses #​5625.
  • We now capture GitLab CI's CI_JOB_NAME environment variable. Addressed in #​6111.
  • Types for event emitters removeListener and removeAllListeners have been added to Cypress and cy. Addresses #​5228.
  • Types for the runUrl property returned from cypress.run() has been added. Addresses #​6087.
  • We're continuing to make progress in converting our codebase from CoffeeScript to JavaScript. Addresses #​2690 in #​5947 and #​6075.

Dependency Updates:

  • Upgraded ansi_up from 4.0.3 to 4.0.4. Addressed in #​6074.
  • Upgraded electron from 7.1.4 to 7.1.7. Addressed in #​6085.

v3.8.1

Compare Source

Released 12/26/2019

Bugfixes:

  • We fixed a bug where cypress run --headless would not run Chrome-family browsers headlessly. Fixes #​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.
  • The strict cookie validation added in 3.5.0 for cy.setCookie(), cy.clearCookie(), and cy.getCookie() has been removed. Fixes #​5642.
  • We fixed a regression in 3.8.0 where using .type() on number inputs to type non-number characters or the {enter} special character would not type the correct value. Fixes #​5968 and #​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.
  • 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.

Misc:

  • We updated the fallback error message for visibility checks to be less confusing. Addresses #​5982.
  • The type definitions for cy.location() have been improved. Addresses #​5574.

Dependency Updates:

  • Upgraded get-port from 5.0.0 to 5.1.0. Addressed in #​6004.
  • Upgraded chrome-remote-interface from 0.28.0 to 0.28.1. Addressed in #​6008.
  • Upgraded which from 1.3.1 to 2.0.2. Addressed in #​6017.
  • Upgraded ansi_up from 1.3.0 to 4.0.3. Addressed in #​4331.
  • Upgraded jimp from 0.6.4 to 0.9.3. Addressed in #​4331.

v3.8.0

Compare Source

Released 12/12/2019

Features:

  • Chrome can now be run in headless mode by using cypress run --headless --browser chrome. Addresses #​832.
  • Cypress now accepts a --tag argument to be used to identify separate runs. Any tags assigned will be shown on the run in the Cypress Dashboard. Addresses #​2561.
  • The commands .its() and .invoke() now accept an options object to allow changing logging options. Addresses #​1450.
  • Cypress will now attempt to use the unzip binary during cypress install before trying the slower, Node.js-based unzipping method. Addresses #​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 where Cypress would crash on Windows when trying to pass a url through --config or --env command line flags. Fixes #​5466.
  • We fixed a regression in 3.5.0 where a supplied Cookie header during "cy.visit() visit or cy.request() would be overwritten by the Cookie header generated from the browser's cookie store. Fixes #​5894.
  • We fixed a regression in 3.5.0 where cy.getCookie() would incorrectly filter cookies by their domain, leading to unexpected results. Fixes #​5656.
  • We fixed a regression in 3.5.0 where calling .type({ force: true }) on hidden inputs would not type the correct characters. Fixes #​5835.
  • We fixed a regression in 3.5.0 where .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() would not respect previous selections in non-selectionRange inputs (like email or number inputs). Fixes #​5703.
  • During visibility checks, Cypress now properly evaluates a DOM element transformed by scale(0) or rotateY(90deg) as not visible. Fixes #​723.
  • Fixed a bug where the specs list in interactive mode would not refresh when files are changed on disk. Fixes #​5933.
  • env configuration option displays properly within the settings panel. Previously, setting env options would incorrectly render "undefined" as the value. Fixes #​5859.

Misc:

  • We removed the max viewport size and lowered min viewport size to 0 for cy.viewport() Addresses #​5871 and #​5892.
  • The Test Runner now shows a non-Chrome logo for browsers passed in via config.browser that are not of the Chrome family. It also supports showing the Firefox logo (in preparation for Firefox browser support). Fixes #​5745.
  • We updated the look of some of our icons. Addressed in #​5822.
  • We're continuing to make progress in converting our codebase from CoffeeScript to JavaScript. Addresses #​2690 in #​5643.
  • cy.request will now automatically encode special characters in the request URL, including Unicode. Addresses #​5274.
  • You can pass additional Electron launch command line arguments using environment variable ELECTRON_EXTRA_LAUNCH_ARGS. Addresses #​5807.

Dependency Updates:

  • Upgraded ansi-escapes from 4.2.1 to 4.3.0. Addressed in #​5815.
  • Upgraded electron-context-menu from 0.11.0 to 0.15.1. Addressed in #​5495.

v3.7.0

Compare Source

Released 11/27/2019

Features:

Bugfixes:

  • Fixed a regression in 3.5.0 where a cy.visit that changes superdomain would incorrectly clear cookies of other domains. Fixes #​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.
  • Fixed a regression introduced in 3.5.0 which caused cy.type to send duplicate modifier keys. Fixes #​5622.
  • We fixed a regression in 3.6.1 where cy.request() with followRedirect: false would fail if a Set-Cookie header was present in the response. Fixes #​5654.
  • The context of window is no longer undefined within the application under test when called within a setTimeout during strict mode. Fixes #​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. Fixes #​5728.
  • Cypress now automatically strips double quotes from --ci-build-id and group flag arguments during cypress run. Fixes #​5686.
  • Assertions printed in the Command Log now correctly identify integers from string integers. Fixes #​25.
  • Empty spaces are now accurately reflected in the Command Log within assertions. Fixes #​1360.
  • Keys printed in the Command Log when using the have.all.keys assertion now correctly display. Fixes #​753.
  • We fixed an issue where Cypress would throw an error when using cy.visit() on a cleverapp.io domain. Fixes #​5722.
  • Fixed a bug where fixtures consisting only of null would cause an error. Fixes #​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.

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.
  • cy.visits 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.
  • The configuration object returned from the plugins file is now validated and will throw a helpful error message when invalid. Addresses #​5712.
  • The configuration panel 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.

Dependency Updates:

  • Upgraded parse-domain from 2.0.0 to 2.3.4. Addressed in #​5726.

v3.6.1

Compare Source

Released 11/08/2019

Bugfixes:

  • The Electron browser no longer hangs when testing applications that have a prompt in a beforeunload handler. Fixes #​2118.
  • We fixed a regression in 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 and #​5432.
  • When using cy.setCookie() with the same options Object, Cypress now correctly sets the new cookie instead of the one passed into a previous cy.setCookie(). Fixes #​2701.
  • We fixed a regression in 3.5.0 where cy.clearCookie() would not act as expected when using certain baseUrls. Fixes #​5453.
  • Cypress no longer crashes with the error Failed to parse or set cookie named "xxx" when loading certain websites. Fixes #​4990.
  • Cypress now sends the expected headers or request body in a cy.visit() to an HTTPS URL using the default port, 443. Fixes #​5367.
  • We fixed a regression in 3.6.0 where Cypress would crash with TypeError: Cannot read property 'length' of null on some network requests. Fixes #​5585.
  • We fixed a regression in 3.5.0 that caused the red target to be rendered incorrectly when specifying offset coordinates to .click(). Fixes #​5635.
  • We fixed a regression in 3.6.0 that was causing an incorrect element to receive the click event during action commands. Fixes #​5578.
  • We fixed a regression in 3.5.0 causing text after using modifier keys in .type() to not be typed. Fixes #​5622.
  • Elements with backface-visibility: hidden; are now accounted for when asserting on the elemtent's visibility. Fixes #​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.
  • The 'Log In' modal within Cypress when setting up a project now correctly closes when manually closed. Fixes #​5631.

Misc:

  • We improved the user experience around inspecting events fired during .click() and .type() commands within the console. Addresses #​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.
  • There is no longer a warning about Promise.defer appearing in stderr when running with video recording enabled. Addresses #​5611.
  • Types for .rightclick() and .dblclick() have been updated to correctly reflect their accepted options. Addresses #​5617.
  • We're continuing to make progress in converting our codebase from CoffeeScript to JavaScript. Addresses #​2690 in #​5556

v3.6.0

Compare Source

Released 10/31/2019

Features:

  • testFiles now also accepts an Array of glob patterns when specifying what test files to load in configuration. Addresses #​5401.

Bugfixes:

  • We fixed a regression in 3.5.0 where the maximum size of an HTTP header or body in a stubbed cy.route() was limited to 8kb causing requests to fail with a 431 HTTP error. Fixes #​5431.
  • We fixed a bug where certain types of uncaught errors originating from the application under test would not route through the uncaught:exception handler, and thus could not caught and ignored. These errors will also now correctly indicate that they came from application code. Fixes #​987.
  • We fixed a regression in 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.
  • We fixed a regression in 3.5.0 where sometimes cookies were not set on the correct URL during a redirect inside of a cy.visit() or cy.request(). Fixes #​5432.
  • We fixed a regression in 3.5.0 causing environment variables containing unicode values to be incorrectly resolved when read via Cypress.env(). Fixes #​5435.
  • We fixed a regression in 3.5.0 that prevented use of .click() or .type() inside of an iframe element. Fixes #​5449. Fixes #​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.
  • We fixed a regression in 3.5.0 that caused some click events to not be sent to the correct elements during .click(). Fixes #​5459.
  • We updated .type() to properly respect focus selection changes during typing. Fixes #​5456.
  • We fixed a regression in 3.5.0 that caused selected text to be overwritten while typing a modifer key during .type(). Fixes #​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. Fixes #​5476.
  • We now properly render iframe placeholder content when previewing DOM snapshots. Fixes #​5295.

Misc:

  • We no longer log the default option {multiple: true} in the Command Log or the console during cy.dblclick(). Addresses #​5406.
  • The text color of inactive tabs within the Cypress Chrome browser has been set to white for better readability. Addresses #​1661.

Dependency Updates

  • Replaced express-handlebars with squirrelly to reduce dependency size. Addressed in #​5521.
  • Upgraded graceful-fs from 4.2.0 to 4.2.3. Addressed in #​5497.

Renovate configuration

📅 Schedule: "before 2am" in timezone America/New_York.

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻️ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

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


  • If you want to rebase/retry this PR, check this box

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant