Added a new Cypress command, called
.selectFile(), to select a file or files in an
HTML5 input element or simulate dragging a file or files into the browser. The
API is similar to cypress-file-upload and we have provided a
migration guide
for previous users of that plugin. For more details, see
our blog post.
Fixes #19524 and
#170.
Exposed the Buffer polyfill, as Cypress.Buffer,
to enable working with binary data. Addressed in
#19524.
Added the CYPRESS_DOWNLOAD_PATH_TEMPLATE environment variable which can be
set to a string template for building the download URL for the Cypress binary.
This environment variable is useful for users who are downloading the Cypress
binary from a proxy that is not one-to-one with the Cypress's default download
url. More information can be found in the
Install Binary
documentation. Fixes
#15697.
Bugfixes:
Fixed an issue where the --spec CLI parameter was not working properly when
passing multiple glob patterns that are separated by commas. Fixes
#16102.
Fixed an issue with how the CYPRESS_VERIFY_TIMEOUT environment variable was
read so it can set in a project's package.json or it's .npmrc. Fixes
#19559.
Dependency Updates:
Upgraded graceful-fs from 4.2.0 to 4.2.9. This upgrade resolves issues
observed with using graceful-fs v4.2.0 with resolve v1.21+. Addressed in
#19676 and resolves
#19610.
NOTE: This upgrade to graceful-fs breaks Cypress's compatibility with
Yarn 2. We have observed errors with Yarn 2.4.2 with graceful-fs 4.2.9.
Before this change, Cypress had minimal Yarn 2 support (see
#6377). Between Yarn 3
fixing multiple bugs and the migration path from Yarn 2 to Yarn 3 being
minimal, we felt the best step forward was to support and recommend Yarn 3
over Yarn 2.
Upgraded electron from 15.2.0 to 15.3.4. Addressed in
#19351.
This version was pushed to npm by tbiethman, 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.2.1 to 9.3.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.3.0</h2>
<p><em>Released 1/18/2022</em></p>
<p><strong>Features:</strong></p>
<ul>
<li>Added a new Cypress command, called
<a href="https://docs.cypress.io/api/commands/selectfile"><code>.selectFile()</code></a>, to select a file or files in an
HTML5 input element or simulate dragging a file or files into the browser. The
API is similar to <code>cypress-file-upload</code> and we have provided a
<a href="https://docs.cypress.io/guides/references/migration-guide#Migrating-from-cypress-file-upload-to-selectFile">migration guide</a>
for previous users of that plugin. For more details, see
<a href="https://cypress.io/blog/2022/01/18/uploading-files-with-selectfile/">our blog post</a>.
Fixes <a href="https://github.com/cypress-io/cypress/issues/19524">#19524</a> and
<a href="https://github.com/cypress-io/cypress/issues/170">#170</a>.</li>
<li>Exposed the <code>Buffer</code> polyfill, as <a href="https://docs.cypress.io/api/utilities/buffer"><code>Cypress.Buffer</code></a>,
to enable working with binary data. Addressed in
<a href="https://github.com/cypress-io/cypress/issues/19524">#19524</a>.</li>
<li>Added the <code>CYPRESS_DOWNLOAD_PATH_TEMPLATE</code> environment variable which can be
set to a string template for building the download URL for the Cypress binary.
This environment variable is useful for users who are downloading the Cypress
binary from a proxy that is not one-to-one with the Cypress's default download
url. More information can be found in the
<a href="https://docs.cypress.io/guides/getting-started/installing-cypress#Install-binary">Install Binary</a>
documentation. Fixes
<a href="https://github.com/cypress-io/cypress/issues/15697">#15697</a>.</li>
</ul>
<p><strong>Bugfixes:</strong></p>
<ul>
<li>Fixed an issue where the <code>--spec</code> CLI parameter was not working properly when
passing multiple glob patterns that are separated by commas. Fixes
<a href="https://github.com/cypress-io/cypress/issues/16102">#16102</a>.</li>
<li>Fixed an issue with how the <code>CYPRESS_VERIFY_TIMEOUT</code> environment variable was
read so it can set in a project's <code>package.json</code> or it's <code>.npmrc</code>. Fixes
<a href="https://github.com/cypress-io/cypress/issues/19559">#19559</a>.</li>
</ul>
<p><strong>Dependency Updates:</strong></p>
<ul>
<li>Upgraded <code>graceful-fs</code> from <code>4.2.0</code> to <code>4.2.9</code>. This upgrade resolves issues
observed with using graceful-fs v4.2.0 with resolve v1.21+. Addressed in
<a href="https://github.com/cypress-io/cypress/issues/19676">#19676</a> and resolves
<a href="https://github.com/cypress-io/cypress/pull/19610">#19610</a>.
<ul>
<li><strong>NOTE:</strong> This upgrade to <code>graceful-fs</code> breaks Cypress's compatibility with
Yarn 2. We have observed errors with Yarn 2.4.2 with <code>graceful-fs</code> 4.2.9.
Before this change, Cypress had minimal Yarn 2 support (see
<a href="https://github.com/cypress-io/cypress/issues/6377">#6377</a>). Between Yarn 3
fixing multiple bugs and the migration path from Yarn 2 to Yarn 3 being
minimal, we felt the best step forward was to support and recommend Yarn 3
over Yarn 2.</li>
</ul>
</li>
<li>Upgraded <code>electron</code> from <code>15.2.0</code> to <code>15.3.4</code>. Addressed in
<a href="https://github.com/cypress-io/cypress/issues/19351">#19351</a>.</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/cypress-io/cypress/commit/503515537627320ed8286564882f559f641059df"><code>5035155</code></a> release 9.3.0 [skip ci]</li>
<li><a href="https://github.com/cypress-io/cypress/commit/273b7035b09bc763b6d398a848c67a474ba37545"><code>273b703</code></a> fix: CLI filtering --spec when commas in glob pattern (<a href="https://github.com/cypress-io/cypress/issues/19557">#19557</a>)</li>
<li><a href="https://github.com/cypress-io/cypress/commit/2685f82663379e23462073ef2d637ddd690527d2"><code>2685f82</code></a> feat: env to use path params in download url (<a href="https://github.com/cypress-io/cypress/issues/19526">#19526</a>)</li>
<li><a href="https://github.com/cypress-io/cypress/commit/3b2388797326e0f1ec8f011372e1352117e001a4"><code>3b23887</code></a> fix(deps): update dependency graceful-fs to v4.2.9 🌟 (<a href="https://github.com/cypress-io/cypress/issues/19676">#19676</a>)</li>
<li><a href="https://github.com/cypress-io/cypress/commit/3809cd4d372aa693e84751ff70bef491e5268632"><code>3809cd4</code></a> feat: cy.selectFile() (<a href="https://github.com/cypress-io/cypress/issues/19332">#19332</a>) (<a href="https://github.com/cypress-io/cypress/issues/19524">#19524</a>)</li>
<li><a href="https://github.com/cypress-io/cypress/commit/29f5c6453cb4a0b6fdb41b861f0e86be53403a34"><code>29f5c64</code></a> chore: Update Chrome (beta) to 98.0.4758.54 (<a href="https://github.com/cypress-io/cypress/issues/19642">#19642</a>)</li>
<li><a href="https://github.com/cypress-io/cypress/commit/d87711e21bf1665294ff1b6c2a1d15e3edb9c932"><code>d87711e</code></a> Merge branch 'master' into develop</li>
<li><a href="https://github.com/cypress-io/cypress/commit/f22e3ca79cf626b0fdf33e52e5471f09f85dcc47"><code>f22e3ca</code></a> Fixed Vue README links in Global Components section (<a href="https://github.com/cypress-io/cypress/issues/19550">#19550</a>)</li>
<li><a href="https://github.com/cypress-io/cypress/commit/576519e465af28e2ed3f0b2c181fbe8f17e348a2"><code>576519e</code></a> fix: use util.getEnv to handle environment variables set with npm (<a href="https://github.com/cypress-io/cypress/issues/19560">#19560</a>)</li>
<li><a href="https://github.com/cypress-io/cypress/commit/0382768981bd68695ca498cfb52107c4748c9489"><code>0382768</code></a> chore(deps): update dependency electron to v15.3.4 🌟 (<a href="https://github.com/cypress-io/cypress/issues/19657">#19657</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/cypress-io/cypress/compare/v9.2.1...v9.3.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/~tbiethman">tbiethman</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.2.1 to 9.3.0.
Release notes
Sourced from cypress's releases.
Commits
5035155release 9.3.0 [skip ci]273b703fix: CLI filtering --spec when commas in glob pattern (#19557)2685f82feat: env to use path params in download url (#19526)3b23887fix(deps): update dependency graceful-fs to v4.2.9 🌟 (#19676)3809cd4feat: cy.selectFile() (#19332) (#19524)29f5c64chore: Update Chrome (beta) to 98.0.4758.54 (#19642)d87711eMerge branch 'master' into developf22e3caFixed Vue README links in Global Components section (#19550)576519efix: use util.getEnv to handle environment variables set with npm (#19560)0382768chore(deps): update dependency electron to v15.3.4 🌟 (#19657)Maintainer changes
This version was pushed to npm by tbiethman, 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
fede4c0bdb