Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Snyk] Upgrade cypress from 3.7.0 to 3.8.0 #20

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

Conversation

snyk-bot
Copy link
Contributor

Snyk has created this PR to upgrade cypress from 3.7.0 to 3.8.0.

ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.
  • The recommended version is 1 version ahead of your current version.
  • The recommended version was released 8 days ago, on 2019-12-12.
Release notes
Package name: cypress
  • 3.8.0 - 2019-12-12

    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.
  • 3.7.0 - 2019-11-27

    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.
from cypress GitHub release notes

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.

For more information:

🧐 View latest project report

🛠 Adjust upgrade PR settings

🔕 Ignore this dependency or unsubscribe from future upgrade PRs

@codecov
Copy link

codecov bot commented Dec 21, 2019

Codecov Report

Merging #20 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master      #20   +/-   ##
=======================================
  Coverage   97.14%   97.14%           
=======================================
  Files           1        1           
  Lines          35       35           
  Branches       16       16           
=======================================
  Hits           34       34           
  Partials        1        1

Continue to review full report at Codecov.

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment