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

Commit 11c4210

Browse files
committed
fix(testForAngular): add a message when page load does not complete in time
1 parent 5dd93c2 commit 11c4210

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/protractor.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -659,7 +659,7 @@ Protractor.prototype.get = function(destination, opt_timeout) {
659659
return self.driver.getCurrentUrl().then(function(url) {
660660
return url !== 'about:blank';
661661
});
662-
}, timeout * 1000);
662+
}, timeout * 1000, 'Timed out waiting for page to load');
663663

664664
var assertAngularOnPage = function(arr) {
665665
var hasAngular = arr[0];

0 commit comments

Comments
 (0)