You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Run Cypress tests only after app initializers have completed. Or at least hook into that process and run a forced change detection after completing.
Why is this needed?
Angular component tests might rely on app initializers. Those don't cause the zone to be unstable, so tests are executed before they complete. This is known to Angular tests: angular/angular#24218
However in Cypress component tests there is no workaround to make it wait.
What would you like?
Run Cypress tests only after app initializers have completed. Or at least hook into that process and run a forced change detection after completing.
Why is this needed?
Angular component tests might rely on app initializers. Those don't cause the zone to be unstable, so tests are executed before they complete. This is known to Angular tests: angular/angular#24218
However in Cypress component tests there is no workaround to make it wait.
Other
Related to #24429 (comment)
cc @mfrieling @rainerhahnekamp
The text was updated successfully, but these errors were encountered: