Cypress v3.7.0 Release Notes

Release Date: 2019-11-27 // over 4 years ago
  • ๐Ÿš€ 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.