|
| 1 | +## 9.6.0 |
| 2 | + |
| 3 | +_Released 4/25/2022_ |
| 4 | + |
| 5 | +**Features:** |
| 6 | + |
| 7 | +- Now you can easily test multi-domain workflows by using the experimental |
| 8 | + [`cy.origin()`](/api/commands/origin) command. This feature allows you to test |
| 9 | + across different origins or domains within a single test. This experiment was |
| 10 | + designed to work side-by-side with the [`cy.session()`](/api/commands/session) |
| 11 | + experimental feature. You can turn on use of this command by setting the |
| 12 | + [`experimentalSessionAndOrigin`](guides/references/experiments) configuration |
| 13 | + option to `true`. For more details, read |
| 14 | + [our blog post](https://cypress.io/blog/2022/04/25/cypress-9-6-0-easily-test-multi-domain-workflows-with-cy-origin/). |
| 15 | + Addressed [#17336](https://github.com/cypress-io/cypress/issues/17336) and |
| 16 | + [#944](https://github.com/cypress-io/cypress/issues/944). |
| 17 | + - Added a new configuration option called `experimentalSessionAndOrigin`. This |
| 18 | + option enables support for [`cy.session()`](/api/commands/session) and |
| 19 | + [`cy.origin()`](/api/commands/origin). |
| 20 | + - The `experimentalSessionSupport` configuration option has been removed and |
| 21 | + replaced by the `experimentalSessionAndOrigin` configuration option. Please |
| 22 | + update your configuration to use the new `experimentalSessionAndOrigin` |
| 23 | + option to continue to opt-in to this experimental feature. |
| 24 | + - When `experimentalSessionAndOrigin` is enabled, cross-origin requests will |
| 25 | + no longer immediately fail, but instead, time out based on the |
| 26 | + [`pageLoadTimeout`](/guides/references/configuration#Timeouts) |
| 27 | + configuration. This allows the request to be appropriately handled by the |
| 28 | + [`cy.origin()`](/api/commands/origin) command. |
| 29 | + - When `experimentalSessionAndOrigin` is enabled, Cypress will no longer wait |
| 30 | + on page loads between hooks before moving on to the next test. |
| 31 | + |
| 32 | +**Bugfixes:** |
| 33 | + |
| 34 | +- Fixed an issue with Firefox 98+ where the Enter keystroke was not being sent |
| 35 | + to an input element when using [`.type('{enter}')`](/api/commands/type). Fixed |
| 36 | + [#21033](https://github.com/cypress-io/cypress/issues/21033). |
| 37 | +- We now verify if an interruption while running tests was signaled by the user |
| 38 | + or if it came from an error in a plugin before showing the error message. |
| 39 | + Fixed [#21010](https://github.com/cypress-io/cypress/issues/21010). |
| 40 | +- Improved the error message observed on Windows platforms when unzipping the |
| 41 | + Cypress binary and the max file length is exceeded. Fixed in |
| 42 | + [#21047](https://github.com/cypress-io/cypress/pull/21047). |
| 43 | +- Updated the `Cypress.Commands.add()` TypeScript types to better reflect the |
| 44 | + attributes of the `.add()` utility and the JQuery element, a possible previous |
| 45 | + subject type. [#20376](https://github.com/cypress-io/cypress/issues/20376). |
| 46 | + |
| 47 | +**Dependency Updates:** |
| 48 | + |
| 49 | +- Upgraded `electron` dependency from `15.3.5` to `15.5.1` to consume fixes |
| 50 | + related to |
| 51 | + [improve performance](https://github.com/electron/electron/pull/33406) on |
| 52 | + macOS Big Sur and later. Addressed |
| 53 | + [#21068](https://github.com/cypress-io/cypress/issues/21068). |
0 commit comments