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 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)
Bumps cypress from 9.5.2 to 9.6.0.
Release notes
Sourced from cypress's releases.
... (truncated)
Commits
2d866f3
release 9.6.0 [skip ci]676fc97
Merge pull request #18075 from cypress-io/feature-multidomainf473d29
removing migration guide referenceb8ae51e
Remove reference to migration guided866746
Update packages/runner-shared/src/event-manager.js3e6d6bf
chore: Updates based on PR feedback (#21137)ebaaf18
Merge branch 'develop' into feature-multidomaina1101e6
feat: support snapshots and console props within multi-domain (#20949)0bb655e
chore: remove command type todos (#20601)885541e
improve error messages for unsupported APIs/commandsDependabot 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)