Skip to content

feat(angular): Add support for zoneless change detection in Angular 20 #31504

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

Open
AtofStryker opened this issue Apr 14, 2025 · 1 comment
Open
Labels
browser: angular Cypress 15 type: feature New feature that does not currently exist

Comments

@AtofStryker
Copy link
Contributor

Current Behavior

Currently, @cypress/angular does not support zoneless change detection which will be the default in Angular 20.

Desired Behavior

Add support for zoneless change detection in @cypress/angular to align with Angular 20's new defaults.

Related Issues

Technical Details

  • Angular 20 is introducing zoneless change detection as the default
  • This change is part of Angular's move away from zone.js
  • The implementation should support both zoned and zoneless applications

Implementation Considerations

  1. Support for manual change detection triggering
  2. Integration with Angular's new test runner
  3. Backwards compatibility for applications still using zone.js
  4. Documentation updates for both zoneless and zoned testing approaches

Questions

  • How should we handle the transition period where both zoned and zoneless applications need to be supported?
  • What are the implications for existing test suites?
  • Should we provide migration guides for users moving from zoned to zoneless testing?
@AtofStryker AtofStryker added Cypress 15 type: feature New feature that does not currently exist browser: angular labels Apr 14, 2025
@AtofStryker
Copy link
Contributor Author

AtofStryker commented Apr 14, 2025

Additional context from this article:

This change aligns with Angular's move towards zoneless change detection as the default in Angular 20, which makes this support important for the Cypress Angular component testing implementation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
browser: angular Cypress 15 type: feature New feature that does not currently exist
Projects
None yet
Development

No branches or pull requests

1 participant