Closed
Description
Background
The @cypress/angular
package currently includes a workaround for a zone.js regression (see #23409) where it.skip
was not properly patched in zone.js v0.11.5. This regression was fixed in zone.js 0.13.1 as documented in angular/angular#46297.
Proposed Change
We should bump the minimum required zone.js version to 0.14.0 in @cypress/angular
. This would allow us to:
- Remove the workaround code added in it.skip not working in Angular component test #23409
- Ensure users get the fixed version of zone.js
- Stay current with Angular's ecosystem
Breaking Change
This would be a breaking change for any projects using zone.js < 0.14.0 with @cypress/angular
. However, given that:
- The fix has been available since zone.js 0.13.1
- Angular itself has moved forward with newer zone.js versions
- This removes technical debt from our codebase
The benefits outweigh the migration cost for users.
Implementation Steps
- Update minimum zone.js version in package.json
- Remove the workaround code added in it.skip not working in Angular component test #23409
- Update documentation to reflect the new requirement
- Add a note in the changelog about this breaking change