1.  
  2. it('should fail to find a non-existent element', function() {
  3. browser.get('app/index.html#/form');
  4.  
  5. browser.pause();
  6.  
  7. // This element doesn't exist, so this fails.
  8. var nonExistent = element(by.binding('nopenopenope')).getText();
  9. });
  10.