Skip to content

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

@AtofStryker

Description

@AtofStryker

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?

Metadata

Metadata

Assignees

Labels

CTIssue related to component testingtype: featureNew feature that does not currently exist

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions