Packages

cypress

16.3.0 · 10 Nov 2026MIT7.6M / weekRepositoryHomepagenpmAtom feed

Your version

12.2.0

20 Dec 2022Where it was published

12.17.4 is the newest release of 12.x.

In short

1 new8 fixed1 changed

Release note

12.2.0​

Released Dec 20, 2022

Features:

  • Added the ability to match on resourceType with cy.intercept(), and to see the resource type of an intercepted request as req.resourceType. Addresses #14525.

  • Users working in React Component Testing projects can now generate a basic spec file from the components that exist in their project. Addresses #24008.

Performance:

  • Fixed a regression introduced in the Electron browser in Cypress 10.8.0 where the CYPRESS_EVERY_NTH_FRAME environment variable was not being set appropriately causing all frames to be captured which slowed down tests. Fixes #23830.

Bugfixes:

  • Fixed an issue where the query object was not available on requests from cy.intercept() once they were yielded. Fixes #25088.

  • Fixed an issue with Angular Component Testing where urls within SASS/SCSS files were not being correctly resolved which could result in incomplete styling. Fixes #24272.

  • Fixed a regression introduced in Cypress 12 where cy.get() would ignore a null value for the withinSubject option. Fixes #25104.

  • Fixed an issue where an unhandled promise rejection would display an incomplete error message in the command log. Fixes #24915.

  • Fixed an issue where the incorrect Cypress version could be shown in the migration wizard. Fixes #25138.

  • Fixed an issue where the Cypress migration wizard would fail to run in global mode on newer versions of Cypress. Addressed in #25138.

  • Fixed an issue with Angular Component Testing where a custom sourceRootconfiguration would not be respected. Fixes #24827.

  • Fixed TypeScript typings for cy.nextUntil() to include the filter parameter. Fixes #24772.

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.