Now you can easily test multi-domain workflows by using the experimental
cy.origin() command. This feature allows you to test
across different origins or domains within a single test. This experiment was
designed to work side-by-side with the cy.session()
experimental feature. You can turn on use of this command by setting the
experimentalSessionAndOrigin configuration
option to true. For more details, read
our blog post.
Addressed #17336 and
#944.
Added a new configuration option called experimentalSessionAndOrigin. This
option enables support for cy.session() and
cy.origin().
The experimentalSessionSupport configuration option has been removed and
replaced by the experimentalSessionAndOrigin configuration option. Please
update your configuration to use the new experimentalSessionAndOrigin
option to continue to opt-in to this experimental feature.
When experimentalSessionAndOrigin is enabled, cross-origin requests will
no longer immediately fail, but instead, time out based on the
pageLoadTimeout
configuration. This allows the request to be appropriately handled by the
cy.origin() command.
When experimentalSessionAndOrigin is enabled, Cypress will no longer wait
on page loads between hooks before moving on to the next test.
We now verify if an interruption while running tests was signaled by the user
or if it came from an error in a plugin before showing the error message.
Fixed #21010.
Improved the error message observed on Windows platforms when unzipping the
Cypress binary and the max file length is exceeded. Fixed in
#21047.
Updated the Cypress.Commands.add() TypeScript types to better reflect the
attributes of the .add() utility and the JQuery element, a possible previous
subject type. #20376.
Dependency Updates:
Upgraded electron dependency from 15.3.5 to 15.5.1 to consume fixes
related to
improve performance on
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.5.4 to 9.6.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.6.0</h2>
<p><em>Released 4/25/2022</em></p>
<p><strong>Features:</strong></p>
<ul>
<li>Now you can easily test multi-domain workflows by using the experimental
<a href="https://docs.cypress.io/api/commands/origin"><code>cy.origin()</code></a> command. This feature allows you to test
across different origins or domains within a single test. This experiment was
designed to work side-by-side with the <a href="https://docs.cypress.io/api/commands/session"><code>cy.session()</code></a>
experimental feature. You can turn on use of this command by setting the
<a href="https://docs.cypress.io/guides/references/experiments"><code>experimentalSessionAndOrigin</code></a> configuration
option to <code>true</code>. For more details, read
<a href="https://cypress.io/blog/2022/04/25/cypress-9-6-0-easily-test-multi-domain-workflows-with-cy-origin/">our blog post</a>.
Addressed <a href="https://github.com/cypress-io/cypress/issues/17336">#17336</a> and
<a href="https://github.com/cypress-io/cypress/issues/944">#944</a>.
<ul>
<li>Added a new configuration option called <code>experimentalSessionAndOrigin</code>. This
option enables support for <a href="https://docs.cypress.io/api/commands/session"><code>cy.session()</code></a> and
<a href="https://docs.cypress.io/api/commands/origin"><code>cy.origin()</code></a>.</li>
<li>The <code>experimentalSessionSupport</code> configuration option has been removed and
replaced by the <code>experimentalSessionAndOrigin</code> configuration option. Please
update your configuration to use the new <code>experimentalSessionAndOrigin</code>
option to continue to opt-in to this experimental feature.</li>
<li>When <code>experimentalSessionAndOrigin</code> is enabled, cross-origin requests will
no longer immediately fail, but instead, time out based on the
<a href="https://docs.cypress.io/guides/references/configuration#Timeouts"><code>pageLoadTimeout</code></a>
configuration. This allows the request to be appropriately handled by the
<a href="https://docs.cypress.io/api/commands/origin"><code>cy.origin()</code></a> command.</li>
<li>When <code>experimentalSessionAndOrigin</code> is enabled, Cypress will no longer wait
on page loads between hooks before moving on to the next test.</li>
</ul>
</li>
</ul>
<p><strong>Bugfixes:</strong></p>
<ul>
<li>Fixed an issue with Firefox 98+ where the Enter keystroke was not being sent
to an input element when using <a href="/api/commands/type"><code>.type(https://github.com/cypress-io/cypress/blob/HEAD/'{enter}')</code></a>. Fixed
<a href="https://github.com/cypress-io/cypress/issues/21033">#21033</a>.</li>
<li>We now verify if an interruption while running tests was signaled by the user
or if it came from an error in a plugin before showing the error message.
Fixed <a href="https://github.com/cypress-io/cypress/issues/21010">#21010</a>.</li>
<li>Improved the error message observed on Windows platforms when unzipping the
Cypress binary and the max file length is exceeded. Fixed in
<a href="https://github.com/cypress-io/cypress/pull/21047">#21047</a>.</li>
<li>Updated the <code>Cypress.Commands.add()</code> TypeScript types to better reflect the
attributes of the <code>.add()</code> utility and the JQuery element, a possible previous
subject type. <a href="https://github.com/cypress-io/cypress/issues/20376">#20376</a>.</li>
</ul>
<p><strong>Dependency Updates:</strong></p>
<ul>
<li>Upgraded <code>electron</code> dependency from <code>15.3.5</code> to <code>15.5.1</code> to consume fixes
related to
<a href="https://github.com/electron/electron/pull/33406">improve performance</a> on</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/2d866f387c6f12ed5cf08a97ceae233f599da995"><code>2d866f3</code></a> release 9.6.0 [skip ci]</li>
<li><a href="https://github.com/cypress-io/cypress/commit/676fc97f46f9798b5f17ee6d292924f8e1a0c82b"><code>676fc97</code></a> Merge pull request <a href="https://github.com/cypress-io/cypress/issues/18075">#18075</a> from cypress-io/feature-multidomain</li>
<li><a href="https://github.com/cypress-io/cypress/commit/f473d29b2c97eb4e23fcb9f20011bd1e08183088"><code>f473d29</code></a> removing migration guide reference</li>
<li><a href="https://github.com/cypress-io/cypress/commit/b8ae51edbcbce77416b42cec620b023e2311b4ca"><code>b8ae51e</code></a> Remove reference to migration guide</li>
<li><a href="https://github.com/cypress-io/cypress/commit/d86674636b93a49a7e2dbbc24bf56666dc7d10b9"><code>d866746</code></a> Update packages/runner-shared/src/event-manager.js</li>
<li><a href="https://github.com/cypress-io/cypress/commit/3e6d6bfe155234f782a890fd904b361c84d5c34e"><code>3e6d6bf</code></a> chore: Updates based on PR feedback (<a href="https://github.com/cypress-io/cypress/issues/21137">#21137</a>)</li>
<li><a href="https://github.com/cypress-io/cypress/commit/ebaaf18268d861e5f5231e3bae91b412e7886ca6"><code>ebaaf18</code></a> Merge branch 'develop' into feature-multidomain</li>
<li><a href="https://github.com/cypress-io/cypress/commit/a1101e65629db7b39efd9aff5a62b8ad927edebd"><code>a1101e6</code></a> feat: support snapshots and console props within multi-domain (<a href="https://github.com/cypress-io/cypress/issues/20949">#20949</a>)</li>
<li><a href="https://github.com/cypress-io/cypress/commit/0bb655e3795e894610357b205b0d3b3d5bd1c819"><code>0bb655e</code></a> chore: remove command type todos (<a href="https://github.com/cypress-io/cypress/issues/20601">#20601</a>)</li>
<li><a href="https://github.com/cypress-io/cypress/commit/885541ea5e736dfd4dac1d3254025b55b367fa3e"><code>885541e</code></a> improve error messages for unsupported APIs/commands</li>
<li>Additional commits viewable in <a href="https://github.com/cypress-io/cypress/compare/v9.5.4...v9.6.0">compare view</a></li>
</ul>
</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.5.4 to 9.6.0.
Release notes
Sourced from cypress's releases.
... (truncated)
Commits
2d866f3release 9.6.0 [skip ci]676fc97Merge pull request #18075 from cypress-io/feature-multidomainf473d29removing migration guide referenceb8ae51eRemove reference to migration guided866746Update packages/runner-shared/src/event-manager.js3e6d6bfchore: Updates based on PR feedback (#21137)ebaaf18Merge branch 'develop' into feature-multidomaina1101e6feat: support snapshots and console props within multi-domain (#20949)0bb655echore: remove command type todos (#20601)885541eimprove error messages for unsupported APIs/commandsDependabot 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 conflictsadded 3 commits
masterCompare with previous version
aborted the automatic merge because source branch was updated
added 3 commits
master4a7edfd4- Build(deps-dev): bump cypress from 9.5.4 to 9.6.0Compare with previous version
mentioned in commit
635614d8cc