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
{{ message }}
This repository has been archived by the owner on Jul 29, 2024. It is now read-only.
Your protractor configuration file: Standard, generated by Angular CLI
A relevant example test: Example, generated by Angular CLI (simple getter for HTML element is fine, for the sake of simplicity)
Output from running the test:
Failed: Timed out waiting for asynchronous Angular tasks to finish after 11 seconds. This may be because the current page is not an Angular application. Please see the FAQ for more details: https://github.com/angular/protractor/blob/master/docs/timeouts.md#waiting-for-angular
Steps to reproduce the bug:
Generate the sample, Angular project (for example using Angular CLI)
Create a simple service with GET request (without backend, so the response will be 404)
Inject the service into the component that you run E2E tests against
Run protractor
Protractor will return the above error. Setting timeout in the HTTP service does not seem to resolve the issue.
Interestingly, if I focus the browser opened by a protractor (instead of running it in the background) the tests will execute correctly.
Also, increasing the timeout does not seem to resolve the issue.
The text was updated successfully, but these errors were encountered:
Please ask usage and debugging questions on StackOverflow (use the "protractor" tag) or in the Angular discussion group. (Please do not ask support questions here on Github.)
Bug report
6.10.3
5.1.2
4
Chrome v. 61
Windows 10
Protractor will return the above error. Setting timeout in the HTTP service does not seem to resolve the issue.
Interestingly, if I focus the browser opened by a protractor (instead of running it in the background) the tests will execute correctly.
Also, increasing the timeout does not seem to resolve the issue.
The text was updated successfully, but these errors were encountered: