Skip to content

Use Angular's testability API to wait for end of e2e tests #3829

@tbosch

Description

@tbosch

Right now, we rely on a hack to wait for the end of e2e tests: We wait until the "loading..." text disappears. However, Angular exposes an API to know when bootstrap is done via global.getAllAngularTestabilities() (see https://github.com/angular/angular/blob/master/modules/angular2/src/core/testability/get_testability.ts). We should use this API to prevent future breakages / hard to explain errors...

Metadata

Metadata

Assignees

Labels

area: testingIssues related to Angular testing features, such as TestBedeffort2: daysfeatureLabel used to distinguish feature request from other issues

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions