Cypress will throw an error when a user attempts to update a configuration
value at run-time using either the Test Configuration or using
Cypress.config() that is a
readonly option.
Addresses #6407 and
#19001.
A timeout option has been added to the cy.writeFile() command, with a
default value of defaultCommandTimeout. Addresses
#3350.
The default maxHttpBufferSize for the internal socket server has been
increased to
Node's maximum Buffer size
(size varies by OS) to allow large file writes with cy.writeFile().
Addresses #19140.
Add CYPRESS_VERIFY_TIMEOUT environment variable to override the timeout
duration of the verify command. Addresses
#18290.
Bugfixes:
Prevent unnecessary snapshotting when running default assertions that would
unnecessarily increase CPU use in cypress open mode which lead to out of
memory crashes on certain browsers. Fixes
#18549.
Removed automatic retries for failed HTTP requests through the proxy. This
fixes an issue where failed requests could be re-sent too many times in some
conditions. This change could increase the number of failed requests that your
app sees. Fixes #19043.
Reduced the occurrence of an issue where logs for fetch and xhr requests
could be associated with the wrong request. Fixes
#19043.
Tests that are skipped within then blocks will no longer throw errors
causing the test to fail. Tests that are skipped outside of then blocks will
no longer trigger the fail event. This will prevent screenshots from happening
from errors thrown by the fail event.Fixes
#14867 and
#17660.
Fixed a regression in 9.0.0 where a
fixture provided in a static response to cy.intercept() did not support
passing null to encoding to read the fixture as a Buffer. This identified an
undocumented 9.0.0 Breaking Change where the default read behavior of a
fixture changed from a Buffer to being read with utf8 encoding. Fixes
#19344.
Fixed a regression in 9.0.0 where
cy.contains() attempted to ignore <script> and <style> elements found
This version was pushed to npm by mjhenkes, a new releaser for cypress since your current version.
Dependabot commands
You can trigger Dependabot actions by commenting on this MR
$dependabot rebase will rebase this MR
$dependabot recreate will recreate this MR rewriting all the manual changes and resolving conflicts
Bumps [cypress](https://github.com/cypress-io/cypress) from 9.1.1 to 9.2.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>9.2.0</h2>
<p><em>Released 12/20/2021</em></p>
<p><strong>Features:</strong></p>
<ul>
<li>Cypress will throw an error when a user attempts to update a configuration
value at run-time using either the Test Configuration or using
<code>Cypress.config()</code> that is a
<a href="https://docs.cypress.io/guides/references/configuration#Test-Configuration">readonly option</a>.
Addresses <a href="https://github.com/cypress-io/cypress/issues/6407">#6407</a> and
<a href="https://github.com/cypress-io/cypress/issues/19001">#19001</a>.</li>
<li>A <code>timeout</code> option has been added to the <code>cy.writeFile()</code> command, with a
default value of <code>defaultCommandTimeout</code>. Addresses
<a href="https://github.com/cypress-io/cypress/issues/3350">#3350</a>.</li>
<li>The default <code>maxHttpBufferSize</code> for the internal socket server has been
increased to
<a href="https://nodejs.org/api/buffer.html#bufferconstantsmax_length">Node's maximum Buffer size</a>
(size varies by OS) to allow large file writes with <code>cy.writeFile()</code>.
Addresses <a href="https://github.com/cypress-io/cypress/issues/19140">#19140</a>.</li>
<li>Add <code>CYPRESS_VERIFY_TIMEOUT</code> environment variable to override the timeout
duration of the <code>verify</code> command. Addresses
<a href="https://github.com/cypress-io/cypress/issues/18290">#18290</a>.</li>
</ul>
<p><strong>Bugfixes:</strong></p>
<ul>
<li>Prevent unnecessary snapshotting when running default assertions that would
unnecessarily increase CPU use in <code>cypress open</code> mode which lead to out of
memory crashes on certain browsers. Fixes
<a href="https://github.com/cypress-io/cypress/issues/18549">#18549</a>.</li>
<li>Removed automatic retries for failed HTTP requests through the proxy. This
fixes an issue where failed requests could be re-sent too many times in some
conditions. This change could increase the number of failed requests that your
app sees. Fixes <a href="https://github.com/cypress-io/cypress/issues/19043">#19043</a>.</li>
<li>Reduced the occurrence of an issue where logs for <code>fetch</code> and <code>xhr</code> requests
could be associated with the wrong request. Fixes
<a href="https://github.com/cypress-io/cypress/issues/19043">#19043</a>.</li>
<li>Tests that are skipped within <code>then</code> blocks will no longer throw errors
causing the test to fail. Tests that are skipped outside of <code>then</code> blocks will
no longer trigger the fail event. This will prevent screenshots from happening
from errors thrown by the fail event.Fixes
<a href="https://github.com/cypress-io/cypress/issues/14867">#14867</a> and
<a href="https://github.com/cypress-io/cypress/issues/17660">#17660</a>.</li>
<li>Fixed a regression in <a href="https://docs.cypress.io/guides/references/changelog#9-0-0">9.0.0</a> where a
fixture provided in a static response to <code>cy.intercept()</code> did not support
passing <code>null</code> to encoding to read the fixture as a Buffer. This identified an
undocumented 9.0.0 Breaking Change where the default read behavior of a
fixture changed from a Buffer to being read with <code>utf8</code> encoding. Fixes
<a href="https://github.com/cypress-io/cypress/issues/19344">#19344</a>.</li>
<li>Fixed a regression in <a href="https://docs.cypress.io/guides/references/changelog#9-0-0">9.0.0</a> where
<code>cy.contains()</code> attempted to ignore <code><script></code> and <code><style></code> elements found</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/cypress-io/cypress/commit/7453c1d61d68f6f448ae8f2d43951f6cfa334b01"><code>7453c1d</code></a> release 9.2.0 [skip ci]</li>
<li><a href="https://github.com/cypress-io/cypress/commit/3bf464a699c7ca98e2e06c82bb26d8f01fbd2fe3"><code>3bf464a</code></a> feat: add quotes to guide env credentials guide</li>
<li><a href="https://github.com/cypress-io/cypress/commit/17d978b3c328319f3dd1060b978d03af214c62c5"><code>17d978b</code></a> Merge branch 'master' into develop</li>
<li><a href="https://github.com/cypress-io/cypress/commit/325094556d6a6fee0e8404c1e90ed31958e6e43d"><code>3250945</code></a> fix: <code>cy.contains()</code> ignores <code>\<style></code> and <code>\<script></code> without removing them. ...</li>
<li><a href="https://github.com/cypress-io/cypress/commit/593d4b83a5eee991000c245c77e11c90b02948ce"><code>593d4b8</code></a> chore: Fix the broken codeowners automation (<a href="https://github.com/cypress-io/cypress/issues/19431">#19431</a>)</li>
<li><a href="https://github.com/cypress-io/cypress/commit/420a9be6ab1de52352fe6d4667adb7e0b3bc3b54"><code>420a9be</code></a> chore: add types for Cypress.session.clearAllSavedSessions (<a href="https://github.com/cypress-io/cypress/issues/19412">#19412</a>)</li>
<li><a href="https://github.com/cypress-io/cypress/commit/b6c4ba144cd6ae3d210789bbb69b9aacc6a92094"><code>b6c4ba1</code></a> fix: No unnecessary snapshotting (<a href="https://github.com/cypress-io/cypress/issues/19311">#19311</a>)</li>
<li><a href="https://github.com/cypress-io/cypress/commit/01f0261d3ae5fa12ae115501cd9887550517074d"><code>01f0261</code></a> chore: Remove pkg/driver <a href="https://github.com/ts-nocheck"><code>@ts-nocheck</code></a> part 1 (<a href="https://github.com/cypress-io/cypress/issues/19353">#19353</a>)</li>
<li><a href="https://github.com/cypress-io/cypress/commit/b3d114e0860c9f2f73e4634c8229457715c3b4cf"><code>b3d114e</code></a> fix: add CYPRESS_VERIFY_TIMEOUT param and a test for it (<a href="https://github.com/cypress-io/cypress/issues/19282">#19282</a>)</li>
<li><a href="https://github.com/cypress-io/cypress/commit/4a2aa8afb8deae037f0805748124f782e47dfb23"><code>4a2aa8a</code></a> chore(deps): update dependency normalize-url to 4.5.1, 5.3.1 [security] (<a href="https://github.com/cypress-io/cypress/issues/19370">#19370</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/cypress-io/cypress/compare/v9.1.1...v9.2.0">compare view</a></li>
</ul>
</details>
<details>
<summary>Maintainer changes</summary>
<p>This version was pushed to npm by <a href="https://www.npmjs.com/~mjhenkes">mjhenkes</a>, a new releaser for cypress since your current version.</p>
</details>
<br />
---
<details>
<summary>Dependabot commands</summary>
<br />
You can trigger Dependabot actions by commenting on this MR
- `$dependabot rebase` will rebase this MR
- `$dependabot recreate` will recreate this MR rewriting all the manual changes and resolving conflicts
</details>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Bumps cypress from 9.1.1 to 9.2.0.
Release notes
Sourced from cypress's releases.
... (truncated)
Commits
7453c1drelease 9.2.0 [skip ci]3bf464afeat: add quotes to guide env credentials guide17d978bMerge branch 'master' into develop3250945fix:cy.contains()ignores\<style>and\<script>without removing them. ...593d4b8chore: Fix the broken codeowners automation (#19431)420a9bechore: add types for Cypress.session.clearAllSavedSessions (#19412)b6c4ba1fix: No unnecessary snapshotting (#19311)01f0261chore: Remove pkg/driver@ts-nocheckpart 1 (#19353)b3d114efix: add CYPRESS_VERIFY_TIMEOUT param and a test for it (#19282)4a2aa8achore(deps): update dependency normalize-url to 4.5.1, 5.3.1 [security] (#19370)Maintainer changes
This version was pushed to npm by mjhenkes, a new releaser for cypress since your current version.
Dependabot commands
You can trigger Dependabot actions by commenting on this MR
$dependabot rebasewill rebase this MR$dependabot recreatewill recreate this MR rewriting all the manual changes and resolving conflictsmentioned in commit
fd39af1123