title: Protractor hanging on IsPresent() -- Or any other Action
body: <p>I am working on trying to get some end to end tests implemented for an AngularJS site, and I am having a bit of an issue getting past a call to the IsPresent() method on the ElementFinder returned by a call to the element method.</p>
  
  <p>Sadly I am governed by rules from my employer preventing me from posting ANY of our code on StackOverflow, but essentially this is what I am doing...</p>
  
  <pre><code>describe('Some feature', function () {
      it('Some Scenario', function () {
  
          browser.get(browser.baseUrl + '/#/somePage');
  
          var ee = element(by.css('.test-comment'));
          expect(ee.isPresent()).toBeTruthy();
  
      });
  });
  </code></pre>
  
  <p>If I comment out the call to the expect() method, then the test executes and passes without issue. If I leave it in, I get : </p>
  
  <blockquote>
    <p>Failed: Timed out waiting for Protractor to synchronize with the page
    after 20 seconds. Please see
    <a href="https://github.com/angular/protractor/blob/master/docs/fa" rel="nofollow">https://github.com/angular/protractor/blob/master/docs/fa</a> q.md. The
    following tasks were pending:
    - $timeout: function (){n=null}</p>
  </blockquote>
  
  <p>This doesn't make any sense to me - the IsPresent() method returns a promise, which is resolved by the expect method, or at least that is what I would expect to happen.</p>
  
  <p>Any clues? </p>