Skip to content
This repository has been archived by the owner on Jul 29, 2024. It is now read-only.

Commit

Permalink
fix(testForAngular): add a message when page load does not complete i…
Browse files Browse the repository at this point in the history
…n time
  • Loading branch information
juliemr committed Jan 31, 2014
1 parent 5dd93c2 commit 11c4210
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/protractor.js
Original file line number Diff line number Diff line change
Expand Up @@ -659,7 +659,7 @@ Protractor.prototype.get = function(destination, opt_timeout) {
return self.driver.getCurrentUrl().then(function(url) {
return url !== 'about:blank';
});
}, timeout * 1000);
}, timeout * 1000, 'Timed out waiting for page to load');

var assertAngularOnPage = function(arr) {
var hasAngular = arr[0];
Expand Down

0 comments on commit 11c4210

Please sign in to comment.