Cypress v4.10.0 Release Notes

Release Date: 2020-07-07 // almost 4 years ago
  • ๐Ÿš€ Released 7/7/2020

    ๐Ÿ”‹ Features:

    • You can open a before, beforeEach, after, and afterEach hook definition in your IDE from the Test Runner's Command Log by clicking the Open in IDE button. Addresses #7793.
    • โœ… before, beforeEach, after, and afterEach hook definitions now display separately in the Test Runner's Command Log when defined in separate hook definitions. Addresses #7779.
    • โœ… You can now open a spec file directly from the Tests tab in the Test Runner by clicking the Open in IDE button. Addresses #7713

    ๐Ÿ›  Bugfixes:

    • 0๏ธโƒฃ HTTP requests taking longer than the default responseTimeout will no longer be prematurely canceled by the Cypress proxy layer. Fixes #6426.
    • ๐Ÿ›  Using Cypress commands to traverse the DOM on an application with a global parent variable will no longer throw Illegal Invocation errors. Fixes #6412.
    • ๐Ÿ›  When experimentalShadowDomSupport is enabled, using .type() on an input in the Shadow DOM will not result in an error. Fixes #7741.
    • ๐Ÿ›  When experimentalShadowDomSupport is enabled, checking for visibility on a shadow dom host element will no longer hang if the host element was the foremost element and had an ancestor with fixed position. Fixes #7893.
    • ๐Ÿ”Š Debug logs from the @benmalka/foxdriver module will no longer appear if any DEBUG environment variable was set. Fixed #7723.

    Misc:

    • โšก๏ธ We made some minor UI updates to the Test Runner. Addresses #7732 and #7803.

    โšก๏ธ Dependency Updates:

    • โฌ†๏ธ Upgraded recast from 0.18.8 to 0.19.1. Addressed in #7898.