[PR #1044] [MERGED] Bump cypress from 4.10.0 to 4.12.0 #3025

Closed
opened 2026-03-17 00:40:35 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/hoppscotch/hoppscotch/pull/1044
Author: @dependabot[bot]
Created: 8/4/2020
Status: Merged
Merged: 8/4/2020
Merged by: @AndrewBastin

Base: masterHead: dependabot/npm_and_yarn/cypress-4.12.0


📝 Commits (2)

  • f343459 Bump cypress from 4.10.0 to 4.12.0
  • 60c76ba Merge branch 'master' into dependabot/npm_and_yarn/cypress-4.12.0

📊 Changes

2 files changed (+69 additions, -61 deletions)

View changed files

📝 package-lock.json (+68 -60)
📝 package.json (+1 -1)

📄 Description

Bumps cypress from 4.10.0 to 4.12.0.

Release notes

Sourced from cypress's releases.

4.12.0

Released 8/3/2020

Features:

  • Now you can control whether screenshots are automatically taken on test failure during cypress run by setting screenshotOnRunFailure in your configuration. Addresses #5029.
  • The pluginsFile now has access to a readonly version property within the config object that returns the current Cypress version being run. This will allow plugins to better target specific Cypress versions. Addresses #6352.
  • During cypress open, you can now run a subset of all specs by entering a text search filter and clicking 'Run n tests'. Addresses #6581.

Bugfixes:

  • position: fixed elements that have a parent with pointer-events: none will now correctly evaluate as visible. Fixes #6675.
  • Applications using custom elements will no longer trigger infinite XHR request loops. Fixes #1068.
  • When snapshotting the DOM, Cypress no longer causes attributeChangedCallback to be triggered on custom elements. Fixes #7187.
  • Spec files containing + characters now properly run in Cypress. Fixes #5909.
  • When using the fx shortcut in cy.route(), an error is now thrown when the fixture file cannot be found. Fixes #7818.
  • Cypress no longer thrown Cannot read property '__error' of null error when passing a file containing null content to cy.fixture(). Fixes #8010.
  • Values containing exponential operators passed to --env via the command line are now properly read. Fixes #6891.
  • The "Open in IDE" button no longer disappears from hooks when the tests are manually rerun. Fixes #8094.
  • When experimentalSourceRewriting is enabled, AST rewriting will no longer return an output before the body is done being written. This would happen when the response body was too large and the response would be sent while the body was still being modified. Fixes #8043.
  • When using .type(), Cypress now properly types into an input within an iframe that auto focuses the input. Fixes #8111.

Misc:

  • Dependencies for our cypress npm package are no longer pinned to a specific version. This allows the use of npm audit fix to fix security vulnerabilities without needing a patch release from Cypress. Addresses #8046.
  • We now collect environment variables for AWS CodeBuild when recording to the Dashboard. Addressed #8101.
  • Types inside Module API are now accessible via the CypressCommandLine namespace. Addresses #7309.
  • We added more type definitions for the .should() command. Addresses #5573.
  • Cookie command's expiry property type is now a Number instead of a String. Addresses #8144.
  • There are some minor visual improvements to the Test Runner's Command Log when hovering, focusing and clicking on hook titles and pending tests. Addressed in #8153.

Dependency Updates:

  • Upgraded jimp from 0.13.0 to 0.14.0. Addressed in #8102.
  • Upgraded moment from 2.26.0 to 2.27.0. Addressed in #8122.

4.11.0

Released 7/21/2020

Features:

  • You can now pass an ensureScrollability: false option to .scrollTo() to skip checking whether the element is scrollable. Addresses #1924.
  • cy.clock() now accepts Dates as well as a Number for now. Fixes #7786.

Bugfixes:

  • Running multiple specs within Firefox during cypress run on Windows will no longer fail trying to make a connection to the browser. Fixes #6392.
  • Cypress will no longer throw a Cannot read property 'isAttached' of undefined error during cypress run on Firefox versions >= 75. Fixes #6813.
  • Fixed an issue where Cypress tests in Chromium-family browsers could randomly fail with the error "WebSocket is already in CLOSING or CLOSED state." Fixes #7180.
  • Taking a screenshot of an element that changes height upon scroll will no longer throw an invalid for option "size" error. Fixes #6099.
Commits
  • 580087d release 4.12.0 [skip ci]
  • 9d19a9f fix: Capture env vars from AWS Code Build (#8159)
  • e0f587e fix: iFrame input focus should not cause blur if input already activeElement ...
  • 19393e0 fix(reporter): minor UI fixes and improvements (#8153)
  • 008f07a chore: a typo in comment (#8150)
  • 4977450 fix: Cookie interface expiry prop (#8145)
  • e1f9c80 docs: Update contributing to mention titling PRs with semantic-release (#8125)
  • fe96d7c feat: run only filtered specs (#8007)
  • d246272 fix(deps): update dependency moment to version 2.27.0 🌟 (#8122)
  • 15c71c5 fix: Introduce CypressCommandLine namespace to type NPM module api
  • 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 close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor 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)

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/hoppscotch/hoppscotch/pull/1044 **Author:** [@dependabot[bot]](https://github.com/apps/dependabot) **Created:** 8/4/2020 **Status:** ✅ Merged **Merged:** 8/4/2020 **Merged by:** [@AndrewBastin](https://github.com/AndrewBastin) **Base:** `master` ← **Head:** `dependabot/npm_and_yarn/cypress-4.12.0` --- ### 📝 Commits (2) - [`f343459`](https://github.com/hoppscotch/hoppscotch/commit/f34345923620f5ca34b5035016bcc9198fa04dcd) Bump cypress from 4.10.0 to 4.12.0 - [`60c76ba`](https://github.com/hoppscotch/hoppscotch/commit/60c76ba85406af3048fe2f840e058c5ffe285b6f) Merge branch 'master' into dependabot/npm_and_yarn/cypress-4.12.0 ### 📊 Changes **2 files changed** (+69 additions, -61 deletions) <details> <summary>View changed files</summary> 📝 `package-lock.json` (+68 -60) 📝 `package.json` (+1 -1) </details> ### 📄 Description Bumps [cypress](https://github.com/cypress-io/cypress) from 4.10.0 to 4.12.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/cypress-io/cypress/releases">cypress's releases</a>.</em></p> <blockquote> <h2>4.12.0</h2> <p><em>Released 8/3/2020</em></p> <p><strong>Features:</strong></p> <ul> <li>Now you can control whether screenshots are automatically taken on test failure during <code>cypress run</code> by setting <a href="https://on.cypress.io/configuration#Screenshots">screenshotOnRunFailure</a> in your configuration. Addresses <a href="https://github-redirect.dependabot.com/cypress-io/cypress/issues/5029">#5029</a>.</li> <li>The <code>pluginsFile</code> now has access to a readonly <code>version</code> property within the <code>config</code> object that returns the current Cypress version being run. This will allow plugins to better target specific Cypress versions. Addresses <a href="https://github-redirect.dependabot.com/cypress-io/cypress/issues/6352">#6352</a>.</li> <li>During <code>cypress open</code>, you can now run a subset of all specs by <a href="https://on.cypress.io/writing-and-organizing-tests#Run-filtered-specs">entering a text search filter and clicking 'Run n tests'</a>. Addresses <a href="https://github-redirect.dependabot.com/cypress-io/cypress/issues/6581">#6581</a>.</li> </ul> <p><strong>Bugfixes:</strong></p> <ul> <li><code>position: fixed</code> elements that have a parent with <code>pointer-events: none</code> will now correctly evaluate as visible. Fixes <a href="https://github-redirect.dependabot.com/cypress-io/cypress/issues/6675">#6675</a>.</li> <li>Applications using custom elements will no longer trigger infinite XHR request loops. Fixes <a href="https://github-redirect.dependabot.com/cypress-io/cypress/issues/1068">#1068</a>.</li> <li>When snapshotting the DOM, Cypress no longer causes <code>attributeChangedCallback</code> to be triggered on custom elements. Fixes <a href="https://github-redirect.dependabot.com/cypress-io/cypress/issues/7187">#7187</a>.</li> <li>Spec files containing <code>+</code> characters now properly run in Cypress. Fixes <a href="https://github-redirect.dependabot.com/cypress-io/cypress/issues/5909">#5909</a>.</li> <li>When using the <code>fx</code> shortcut in <a href="https://on.cypress.io/route"><code>cy.route()</code></a>, an error is now thrown when the fixture file cannot be found. Fixes <a href="https://github-redirect.dependabot.com/cypress-io/cypress/issues/7818">#7818</a>.</li> <li>Cypress no longer thrown <code>Cannot read property '__error' of null</code> error when passing a file containing <code>null</code> content to <a href="https://on.cypress.io/fixture"><code>cy.fixture()</code></a>. Fixes <a href="https://github-redirect.dependabot.com/cypress-io/cypress/issues/8010">#8010</a>.</li> <li>Values containing exponential operators passed to <code>--env</code> via the command line are now properly read. Fixes <a href="https://github-redirect.dependabot.com/cypress-io/cypress/issues/6891">#6891</a>.</li> <li>The &quot;Open in IDE&quot; button no longer disappears from hooks when the tests are manually rerun. Fixes <a href="https://github-redirect.dependabot.com/cypress-io/cypress/issues/8094">#8094</a>.</li> <li>When <a href="https://on.cypress.io/experiments"><code>experimentalSourceRewriting</code></a> is enabled, AST rewriting will no longer return an output before the body is done being written. This would happen when the response body was too large and the response would be sent while the body was still being modified. Fixes <a href="https://github-redirect.dependabot.com/cypress-io/cypress/issues/8043">#8043</a>.</li> <li>When using <a href="https://on.cypress.io/type"><code>.type()</code></a>, Cypress now properly types into an input within an iframe that auto focuses the input. Fixes <a href="https://github-redirect.dependabot.com/cypress-io/cypress/issues/8111">#8111</a>.</li> </ul> <p><strong>Misc:</strong></p> <ul> <li>Dependencies for our <code>cypress</code> npm package are no longer pinned to a specific version. This allows the use of <code>npm audit fix</code> to fix security vulnerabilities without needing a patch release from Cypress. Addresses <a href="https://github-redirect.dependabot.com/cypress-io/cypress/issues/8046">#8046</a>.</li> <li>We now collect environment variables for AWS CodeBuild when recording to the Dashboard. Addressed <a href="https://github-redirect.dependabot.com/cypress-io/cypress/issues/8101">#8101</a>.</li> <li>Types inside Module API are now accessible via the <code>CypressCommandLine</code> namespace. Addresses <a href="https://github-redirect.dependabot.com/cypress-io/cypress/issues/7309">#7309</a>.</li> <li>We added more type definitions for the <a href="https://on.cypress.io/should"><code>.should()</code></a> command. Addresses <a href="https://github-redirect.dependabot.com/cypress-io/cypress/issues/5573">#5573</a>.</li> <li>Cookie command's <code>expiry</code> property type is now a Number instead of a String. Addresses <a href="https://github-redirect.dependabot.com/cypress-io/cypress/issues/8144">#8144</a>.</li> <li>There are some minor visual improvements to the Test Runner's Command Log when hovering, focusing and clicking on hook titles and pending tests. Addressed in <a href="https://github-redirect.dependabot.com/cypress-io/cypress/pull/8153">#8153</a>.</li> </ul> <p><strong>Dependency Updates:</strong></p> <ul> <li>Upgraded <code>jimp</code> from <code>0.13.0</code> to <code>0.14.0</code>. Addressed in <a href="https://github-redirect.dependabot.com/cypress-io/cypress/pull/8102">#8102</a>.</li> <li>Upgraded <code>moment</code> from <code>2.26.0</code> to <code>2.27.0</code>. Addressed in <a href="https://github-redirect.dependabot.com/cypress-io/cypress/pull/8122">#8122</a>.</li> </ul> <h2>4.11.0</h2> <p><em>Released 7/21/2020</em></p> <p><strong>Features:</strong></p> <ul> <li>You can now pass an <code>ensureScrollability: false</code> option to <a href="https://on.cypress.io/scrollto"><code>.scrollTo()</code></a> to skip checking whether the element is scrollable. Addresses <a href="https://github-redirect.dependabot.com/cypress-io/cypress/issues/1924">#1924</a>.</li> <li><a href="https://on.cypress.io/clock"><code>cy.clock()</code></a> now accepts Dates as well as a Number for now. Fixes <a href="https://github-redirect.dependabot.com/cypress-io/cypress/issues/7786">#7786</a>.</li> </ul> <p><strong>Bugfixes:</strong></p> <ul> <li>Running multiple specs within Firefox during <code>cypress run</code> on Windows will no longer fail trying to make a connection to the browser. Fixes <a href="https://github-redirect.dependabot.com/cypress-io/cypress/issues/6392">#6392</a>.</li> <li>Cypress will no longer throw a <code>Cannot read property 'isAttached' of undefined</code> error during <code>cypress run</code> on Firefox versions &gt;= 75. Fixes <a href="https://github-redirect.dependabot.com/cypress-io/cypress/issues/6813">#6813</a>.</li> <li>Fixed an issue where Cypress tests in Chromium-family browsers could randomly fail with the error &quot;WebSocket is already in CLOSING or CLOSED state.&quot; Fixes <a href="https://github-redirect.dependabot.com/cypress-io/cypress/issues/7180">#7180</a>.</li> <li>Taking a screenshot of an element that changes height upon scroll will no longer throw an <code>invalid for option &quot;size&quot;</code> error. Fixes <a href="https://github-redirect.dependabot.com/cypress-io/cypress/issues/6099">#6099</a>.</li> </ul> <!-- raw HTML omitted --> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/cypress-io/cypress/commit/580087d5dc082c5a4b83465a19d87dbb1b75fb1b"><code>580087d</code></a> release 4.12.0 [skip ci]</li> <li><a href="https://github.com/cypress-io/cypress/commit/9d19a9f0efba3dd69eb8f93b6bd0d8dfeda7f637"><code>9d19a9f</code></a> fix: Capture env vars from AWS Code Build (<a href="https://github-redirect.dependabot.com/cypress-io/cypress/issues/8159">#8159</a>)</li> <li><a href="https://github.com/cypress-io/cypress/commit/e0f587e5b74aa5217374547e5ce9b601b6472583"><code>e0f587e</code></a> fix: iFrame input focus should not cause blur if input already activeElement ...</li> <li><a href="https://github.com/cypress-io/cypress/commit/19393e09d14123aa65f21cdbde1ba9b25a77b3e2"><code>19393e0</code></a> fix(reporter): minor UI fixes and improvements (<a href="https://github-redirect.dependabot.com/cypress-io/cypress/issues/8153">#8153</a>)</li> <li><a href="https://github.com/cypress-io/cypress/commit/008f07a4db11702011fc172e0036671ea9bf4ed7"><code>008f07a</code></a> chore: a typo in comment (<a href="https://github-redirect.dependabot.com/cypress-io/cypress/issues/8150">#8150</a>)</li> <li><a href="https://github.com/cypress-io/cypress/commit/497745037fb0b80601f7f937d04b3aa61ecb620b"><code>4977450</code></a> fix: Cookie interface expiry prop (<a href="https://github-redirect.dependabot.com/cypress-io/cypress/issues/8145">#8145</a>)</li> <li><a href="https://github.com/cypress-io/cypress/commit/e1f9c80594f36f7856e54b5c58bb246506e847b3"><code>e1f9c80</code></a> docs: Update contributing to mention titling PRs with semantic-release (<a href="https://github-redirect.dependabot.com/cypress-io/cypress/issues/8125">#8125</a>)</li> <li><a href="https://github.com/cypress-io/cypress/commit/fe96d7cf2ac0108ccefd805f19860e721413d8a5"><code>fe96d7c</code></a> feat: run only filtered specs (<a href="https://github-redirect.dependabot.com/cypress-io/cypress/issues/8007">#8007</a>)</li> <li><a href="https://github.com/cypress-io/cypress/commit/d246272bca4a3b6d409820a9c221132a82c7c4c5"><code>d246272</code></a> fix(deps): update dependency moment to version 2.27.0 🌟 (<a href="https://github-redirect.dependabot.com/cypress-io/cypress/issues/8122">#8122</a>)</li> <li><a href="https://github.com/cypress-io/cypress/commit/15c71c5bd765159362f02b26431b75ece74d52df"><code>15c71c5</code></a> fix: Introduce CypressCommandLine namespace to type NPM module api</li> <li>Additional commits viewable in <a href="https://github.com/cypress-io/cypress/compare/v4.10.0...v4.12.0">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=cypress&package-manager=npm_and_yarn&previous-version=4.10.0&new-version=4.12.0)](https://help.github.com/articles/configuring-automated-security-fixes) 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-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> 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 close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor 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) </details> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-17 00:40:35 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/hoppscotch#3025
No description provided.