{"action":"opened","issue":{"url":"https://api.github.com/repos/witoldsz/angular-http-auth/issues/101","labels_url":"https://api.github.com/repos/witoldsz/angular-http-auth/issues/101/labels{/name}","comments_url":"https://api.github.com/repos/witoldsz/angular-http-auth/issues/101/comments","events_url":"https://api.github.com/repos/witoldsz/angular-http-auth/issues/101/events","html_url":"https://github.com/witoldsz/angular-http-auth/issues/101","id":81877434,"number":101,"title":"E2E testing with Protractor","user":{"login":"tamlyn","id":115310,"avatar_url":"https://avatars.githubusercontent.com/u/115310?v=3","gravatar_id":"","url":"https://api.github.com/users/tamlyn","html_url":"https://github.com/tamlyn","followers_url":"https://api.github.com/users/tamlyn/followers","following_url":"https://api.github.com/users/tamlyn/following{/other_user}","gists_url":"https://api.github.com/users/tamlyn/gists{/gist_id}","starred_url":"https://api.github.com/users/tamlyn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tamlyn/subscriptions","organizations_url":"https://api.github.com/users/tamlyn/orgs","repos_url":"https://api.github.com/users/tamlyn/repos","events_url":"https://api.github.com/users/tamlyn/events{/privacy}","received_events_url":"https://api.github.com/users/tamlyn/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-05-28T10:59:00Z","updated_at":"2015-05-28T10:59:00Z","closed_at":null,"body":"I'm trying to write some end-to-end tests for my application which uses this module. My problem is that Protractor waits for all `$http` requests to finish before running the tests. Since the request is intercepted, Protractor just times out:\r\n\r\n> Timed out waiting for Protractor to synchronize with the page after 11 seconds.\r\n\r\nThere's a related [question on SO](http://stackoverflow.com/questions/25601411/protractor-testing-angular-http-interceptors) but no answers.\r\n\r\nAnyone have a strategy for handling this situation?"}}