Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

9.6.0 Release #4446

Merged
merged 40 commits into from Apr 25, 2022
Merged
Show file tree
Hide file tree
Changes from 34 commits
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
c3fc24b
Add cy.origin command API page
debrisapron Apr 14, 2022
59a1427
Initial blank changelog
jennifer-shehane Apr 20, 2022
b341c05
add changelog entries
emilyrohrbough Apr 21, 2022
334b248
add multi-origin info
emilyrohrbough Apr 21, 2022
884bea8
remove notes
emilyrohrbough Apr 21, 2022
65fb1b6
Address feedback
debrisapron Apr 22, 2022
3f4060e
Changes to yields section
debrisapron Apr 22, 2022
a84e2e0
Update cy.session command API page
debrisapron Apr 22, 2022
b0300b0
Update references Experiments page with new option
debrisapron Apr 22, 2022
61cd220
Update References Roadmap page with new multi-domain status
debrisapron Apr 22, 2022
d02fb09
Merge pull request #4450 from cypress-io/content/update-roadmap-page
debrisapron Apr 22, 2022
101f7d8
Incorporate feedback on feature description
debrisapron Apr 22, 2022
fedb6fe
Merge pull request #4449 from cypress-io/content/update-experiments-page
debrisapron Apr 22, 2022
48fe086
Update the changelog text
jennifer-shehane Apr 22, 2022
c2d35a4
Address reviewer feedback
debrisapron Apr 22, 2022
7a8949e
Second round of changes incorporating feedback & answers
debrisapron Apr 23, 2022
0db8d5b
Remove link for about:blank
debrisapron Apr 23, 2022
d9b73c7
Merge pull request #4448 from cypress-io/content/update-cy.session-ap…
debrisapron Apr 23, 2022
4bf7775
Merge branch 'master' into 9.6.0-release
ryanthemanuel Apr 25, 2022
d324498
PR feedback (changelog)
emilyrohrbough Apr 25, 2022
da9e13b
Update content/api/commands/origin.md
jennifer-shehane Apr 25, 2022
e4320ad
Update content/api/commands/origin.md
jennifer-shehane Apr 25, 2022
1920f82
Update content/api/commands/origin.md
jennifer-shehane Apr 25, 2022
aa448c1
Update content/api/commands/origin.md
jennifer-shehane Apr 25, 2022
fa061db
Update content/api/commands/origin.md
jennifer-shehane Apr 25, 2022
46edd53
Update content/api/commands/origin.md
jennifer-shehane Apr 25, 2022
d8796bc
Update content/api/commands/origin.md
jennifer-shehane Apr 25, 2022
0a830f7
Update content/api/commands/origin.md
jennifer-shehane Apr 25, 2022
ff7620f
Update content/api/commands/origin.md
jennifer-shehane Apr 25, 2022
d97faf8
Update content/api/commands/origin.md
jennifer-shehane Apr 25, 2022
8806d91
Update content/api/commands/origin.md
jennifer-shehane Apr 25, 2022
3be96d0
Update content/_changelogs/9.6.0.md
emilyrohrbough Apr 25, 2022
5e829f8
Final changes before go-live
debrisapron Apr 25, 2022
d8d17f4
Merge pull request #4439 from cypress-io/content/add-cy.origin-api-page
debrisapron Apr 25, 2022
cc4f9e5
Update content/_changelogs/9.6.0.md
emilyrohrbough Apr 25, 2022
5813de0
Update content/_changelogs/9.6.0.md
emilyrohrbough Apr 25, 2022
c34e9b4
Update content/_changelogs/9.6.0.md
emilyrohrbough Apr 25, 2022
5fff72a
lint
emilyrohrbough Apr 25, 2022
769dc7b
Update content/guides/references/roadmap.md
emilyrohrbough Apr 25, 2022
e016185
lint
emilyrohrbough Apr 25, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
55 changes: 55 additions & 0 deletions content/_changelogs/9.6.0.md
@@ -0,0 +1,55 @@
## 9.6.0

_Released 4/25/2022_

**Features:**

- Now you can easily test multi-domain workflows by using the experimental
[`cy.origin()`](/api/commands/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()`](/api/commands/session)
experimental feature. You can turn on use of this command by setting the
[`experimentalSessionAndOrigin`](guides/references/experiments) configuration
option to `true`. For more details, read
[our blog post](https://cypress.io/blog/2022/04/25/cypress-9-6-0-easily-test-multi-domain-workflows-with-cy-origin/).
Addressed [#17336](https://github.com/cypress-io/cypress/issues/17336) and
[#944](https://github.com/cypress-io/cypress/issues/944).
- Added a new configuration option called `experimentalSessionAndOrigin`. This
option enables support for [`cy.session()`](/api/commands/session) and
[`cy.origin()`](/api/commands/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
mschile marked this conversation as resolved.
Show resolved Hide resolved
no longer immediately fail, but instead, time out based on the
[`pageLoadTimeout`](/guides/references/configuration#Timeouts)
configuration. This allows the request to be appropriately handled by the
[`cy.origin()`](/api/commands/origin) command and if it isn't handled, it's
assumed it was an unexpected request that should fail.
emilyrohrbough marked this conversation as resolved.
Show resolved Hide resolved
- When `experimentalSessionAndOrigin` is enabled, Cypress will no longer
prevent running the next command in a hook if a page is still loading as a
result of a previously run command in a previous hook.
mschile marked this conversation as resolved.
Show resolved Hide resolved

**Bugfixes:**

- Fixed an issue with Firefox 98+ where the Enter keystroke was not being sent
to an input element when using [`.type('{enter}')`](/api/commands/type). Fixed
[#21033](https://github.com/cypress-io/cypress/issues/21033).
- 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](https://github.com/cypress-io/cypress/issues/21010).
- Improved the error message observed on Windows platforms when unzipping the
Cypress binary and the max file length is exceeded. Fixed in
[#21047](https://github.com/cypress-io/cypress/pull/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](https://github.com/cypress-io/cypress/issues/20376).

**Dependency Updates:**

- Upgraded `electron` dependency from `15.3.5` to `15.5.1` to consume fixes
related to
[improve performance](https://github.com/electron/electron/pull/33406) on
macOS Big Sur and later. Addressed
[#21068](https://github.com/cypress-io/cypress/issues/21068).
6 changes: 5 additions & 1 deletion content/_data/sidebar.json
Expand Up @@ -568,6 +568,10 @@
"title": "not",
"slug": "not"
},
{
"title": "origin",
"slug": "origin"
},
{
"title": "parent",
"slug": "parent"
Expand Down Expand Up @@ -1011,4 +1015,4 @@
]
}
]
}
}