Skip to content

Bump cypress from 3.3.1 to 3.3.2

Hannes Heine requested to merge pr929head into pr929base

Created by: Tirokk

dependabot-preview[bot] Authored by dependabot-preview[bot] Merged


Bumps cypress from 3.3.1 to 3.3.2.

Release notes

Sourced from cypress's releases.

3.3.2

Released 6/27/2019

Performance Improvements:

  • We fixed a regression introduced in 3.3.0 that was causing the Test Runner to do extremely unnecessary re-renders of the Command Log on any command change - leading to exponential performance degradation on any run. This was the root cause behind many users experiencing a reduction in performance when upgrading to 3.3.0 or above. Fixes #4411 and #4313.
  • We reduced memory consumption and improved the performance of running tests anytime you're inside of cypress open. Fixes #2366. Thanks @"CoryDanielson"!
  • We no longer delay proxied responses with no body with status codes 1xx, 204, 304. This fixes a regression introduced in 3.2.0 where responses with these status codes were delayed when using a proxy. Fixes #4298.
  • Snapshots were previously being mistakenly stored then instantly deleted when numTestsKeptInMemory was set to 0. We now no longer record the snapshots at all when numTestsKeptInMemory is set to 0. This should slightly improve the performance of running tests with this setting. Fixes #4104 and #4164.

Bugfixes:

  • Cypress no longer watches files when run using cypress run. This will fix some runs that were crashing with an ENOSPC error. Fixes #4283.
  • Cypress now correctly handles blur and focus events in situations where the browser has lost focus. Fixes #4039, #1176, and #1486.
  • If the DOM element provided to .type() is already in focus, Cypress no longer attempts to click on the DOM element. This allows you to call .focus() on elements that are focusable, but not necessarily clickable and type into them using .type(). Fixes #3001 and #4420.
  • Some elements inside of a parent with CSS overflow: hidden that flow outside of its parent are now properly considered hidden. #4161
  • Elements that are inside a parent with CSS position: absolute which is itself inside of a parent element with overflow: hidden are now properly considered visible. Fixes #4395 and #755.
  • <option> and <optgroup> elements are now properly considered visible if it is contained within a visible <select>. Fixes #4473.
  • <body> and <html> elements are now properly always considered visible. Fixes #4475.
  • <td> and <tr> elements with CSS visibility: collapse are now properly considered hidden. Fixes #4476.
  • We now correctly handle form submission when using .type('{enter}') on a form containing a button of type reset. Fixes #3909.
  • If a site's content-type is null, undefined or cannot be determined during cy.visit(), we now look at the content of the site and evaluate whether it looks like HTML. If it does look like HTML we no longer error and continue as if it the site's content-type is text/html. #1727 #773 #3101.
  • Previously Cypress would send the auth header to any URLs that match the CORS origin of the original auth header. We now correctly only send the auth headers when there is an exact match on the protection space. Fixes #4267.
  • Requests that go through cy.visit() or cy.request() are now automatically retried on ENOTFOUND errors. Fixes #4424 and #1755.
  • Cypress now errors when the body paramater passed to cy.request() contains a circular reference. Fixed in #4407.
  • We fixed an issue where the ignoreTestFiles configuration was being filtered out when passed via a command line flag, so in effect being ignored. Fixes #1696.
  • Setting NO_PROXY is now respected for HTTPS urls, as it should be. Fixes #4303.
  • When running tests with non-string test titles, the screenshots now automatically stringify the test titles instead of throwing an error. Fixes #4310.
  • Cypress no longer incorrectly errors when calling cy.window().screenshot(), cy.window().scrollTo() or cy.window().trigger() in an application with multiple iframes. Fixes #4396.
  • Fixed a regression in 3.3.0 causing some users using proxy to see the "Browser was not launched through Cypress" error during cypress open. This was caused by incorrectly routing requests for Cypress's internal server on localhost through the user's proxy. Fixes #4410.
  • We fixed situations during a test failure where the Test Runner would throw RangeError: Maximum call stack size exceeded. Fixes #1958 and #4346.
  • Fixed issue where window.performance.getEntriesByType would return undefined instead of an array within application code when using cy.clock(). Fixes #3625.
  • Passing an array of strings to ignoreTestFiles no longer causes an error to throw. Fixes #4312.
  • Fixed a visual bug when aliasing a non-route subject multiple times that would cause the Test Runner to show 'undefined' alias with empty counts. Fixes #4429.
  • Fixed regression introduced in 3.2.0 where Cypress would error because it could not find a type definition file for '../sinon'. Fixes #4272.
  • cy.writeFile() no longer errors in TypeScript files when passing an options object as its third argument. Fixes #4461.
  • cy.stub() no longer errors in TypeScript files when evaluating returns. Fixes #4302.

Misc:

  • Warnings are now displayed when recording in cypress run to warn when a project is nearing its organization's usage limit. They also clearly explain any consequences of going over a plan's usage limit. Addresses #4530.
  • An warning icon with a tooltip is displayed in the Runs tab of the Test Runner when parallelization was disabled during the run due to being over the organization's usage limit. Addresses #4489.
  • You can now opt out of sending exceptions to https://api.cypress.io by setting CYPRESS_CRASH_REPORTS=0 in your system environment variables. #4386
  • We are now capturing Google Cloud build details when recording tests to the Cypress Dashboard. Addresses #3582.
  • The tests titles and headers in the Command Log no longer truncate with elipsis when the text is longer than that width of the Command Log. Instead the text wraps so that all text is shown. Addresses #3947.
  • Special env vars are now truncated in Cypress.env() and the debug logs. Addresses #4501.
  • The projectId in now displayed in the configuration in the Test Runner settings like all other configuration values. Fixes #4500.
  • When recording to the Dashboard, unrecognized warnings coming from the API server are now displayed in stdout. Fixes #4489.

Documentation Changes:

... (truncated)
Commits
  • b14c1f9 release 3.3.2 [skip ci]
  • 17520bd remove dead code [skip ci]
  • f74d103 Warn on createRun warning from dashboard if warning code is unk… (#4567)
  • e1f58da fix(deps): update dependency fs-extra to version .x 🌟 (#4581)
  • 23d66fd Use 'path' for key in browsers dropdown, fix desktop-gui duplicate key warnin...
  • b634552 fix(deps): update dependency fs-extra to version .x 🌟 (#4571)
  • 55b86d4 fix(deps): update dependency fs-extra to version .x 🌟 (#4559)
  • ce156e2 4429- Do not log 'counts' for aliases that are non-routes (#4556)
  • 70c441c fix(chore): fixup usage information (#4546)
  • c2d9ae4 fix(deps): update dependency fs-extra to version .x 🌟 (#4555)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot ignore this [patch|minor|major] version will close this PR and stop Dependabot creating any more for this minor/major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
  • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot dashboard:

  • Update frequency (including time of day and day of week)
  • Automerge options (never/patch/minor, and dev/runtime dependencies)
  • Pull request limits (per update run and/or open at any time)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

Finally, you can contact us by mentioning @dependabot.

Merge request reports