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

12.2.0 Changelog #4938

Merged
merged 5 commits into from Dec 20, 2022
Merged
Changes from 2 commits
Commits
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
47 changes: 47 additions & 0 deletions content/_changelogs/12.2.0.md
@@ -0,0 +1,47 @@
## 12.2.0

_Released 12/20/2022_

**Features:**

- Added the ability to match on `resourceType` with
[`cy.intercept()`](https://docs.cypress.io/api/commands/intercept), and to see
mike-plummer marked this conversation as resolved.
Show resolved Hide resolved
the resource type of an intercepted request as `req.resourceType`. Addresses
[#14525](https://github.com/cypress-io/cypress/issues/14525).
- Users working in React Component Testing projects can now generate a basic
spec file by selecting from the components that exist in their project.
mike-plummer marked this conversation as resolved.
Show resolved Hide resolved
Addresses [#24008](https://github.com/cypress-io/cypress/issues/24008).

**Bugfixes:**

- Fixed a regression introduced in
[Cypress 10.8.0](https://docs.cypress.io/guides/references/changelog#10-8-0)
mike-plummer marked this conversation as resolved.
Show resolved Hide resolved
where the `CYPRESS_EVERY_NTH_FRAME` environment variable was not being set
appropriately causing all frames to be captured which slowed down tests. Fixes
mike-plummer marked this conversation as resolved.
Show resolved Hide resolved
[#23830](https://github.com/cypress-io/cypress/issues/23830).
- Fixed an issue where the `query` object was not available on requests from
[`cy.intercept()`](https://docs.cypress.io/api/commands/intercept) once they
mike-plummer marked this conversation as resolved.
Show resolved Hide resolved
were yielded. Fixes
[#25088](https://github.com/cypress-io/cypress/issues/25088).
- Fixed a regression introduced in
[Cypress 12](https://docs.cypress.io/guides/references/changelog#12-0-0) where
mike-plummer marked this conversation as resolved.
Show resolved Hide resolved
[`cy.get()`](https://docs.cypress.io/api/commands/get) would ignore a `null`
mike-plummer marked this conversation as resolved.
Show resolved Hide resolved
value for the 'withinSubject' option. Fixes
mike-plummer marked this conversation as resolved.
Show resolved Hide resolved
[#25104](https://github.com/cypress-io/cypress/issues/25104).
- Fixed Typescript typings for
mike-plummer marked this conversation as resolved.
Show resolved Hide resolved
[`cy.nextUntil()`](https://docs.cypress.io/api/commands/nextuntil) to include
the 'filter' parameter. Fixes
[#24772](https://github.com/cypress-io/cypress/issues/24772).
- Fixed an issue where the incorrect Cypress version could be shown in the
migration wizard. Fixes
[#25138](https://github.com/cypress-io/cypress/issues/25138).
- Fixed an issue where the Cypress migration wizard would fail to run in
[global mode](https://docs.cypress.io/guides/guides/command-line#cypress-open-global)
mike-plummer marked this conversation as resolved.
Show resolved Hide resolved
on newer versions of Cypress. Addressed in
[#25138](https://github.com/cypress-io/cypress/issues/25138).
- Fixed an issue with Angular Component Testing where a custom `srcRoot`
mike-plummer marked this conversation as resolved.
Show resolved Hide resolved
configuration would not be respected. Fixes
[#24827](https://github.com/cypress-io/cypress/issues/24827).
- Fixed an issue with Angular Component Testing where URLs within SASS/SCSS
mike-plummer marked this conversation as resolved.
Show resolved Hide resolved
files were not being correctly resolved. Fixes
[#24272](https://github.com/cypress-io/cypress/issues/24272).