protractor-xhr-only-plugin
This plugin adds the ability to change how Protractor synchronizes with Angular.
You enable this plugin in your config file:
exportsconfig = plugins: package: 'protractor-xhr-only-plugin' ;
In your tests, you can change Protractor's synchronization by calling protractor.waitForXHROnly(), like so.
;
Protractor will use the default behavior (waiting for all outstanding $http and $timeout calls) until the first call to protractor.waitForXHROnly(true);