Run Angular component tests only after app initializers have completed.
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: https://github.com/angular/angular/issues/24218
However in Cypress component tests there is no workaround to make it wait.
Other
Related to https://github.com/cypress-io/cypress/issues/24429#issuecomment-1747239160
cc @mfrieling @rainerhahnekamp
This issue has not had any activity in 180 days. Cypress evolves quickly and the reported behavior should be tested on the latest version of Cypress to verify the behavior is still occurring. It will be closed in 14 days if no updates are provided.
This issue has been closed due to inactivity.