As an e2e tester who has little interaction with the developer, how do I find out what is causing the angularJS website to hang? How do I debug the website and provide them with a tangible solution to my problem? Does Chrome Developer provide an answer to this?
My current solution is to use either of the two code snippets below, but from what I have read, this is not ideal.
browser.sleep();
browser.ignoreSynchronization = true;
I am getting a similar problems to the below:
Failed: Timed out waiting for asynchronous Angular tasks to finish after 11 seconds
Yes, the most common reason is when application continuously polls $timeout or $http, Protractor will wait indefinitely and time out. But this can also occur in scenarios where App takes more than 11 seconds
Protractor test a bootstrap modal - not angular page - timeout
You might have more luck turning the synchronization off temporarily: