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

Commit

Permalink
fix(pageload): increase wait timeout
Browse files Browse the repository at this point in the history
The 300 ms wait caused problems when testing IE on Sauce Labs. It seems way too short. "browser.get()" invariably timed out. Increasing it solved our problem.
gaborcs authored and juliemr committed Jan 31, 2014
1 parent 8d29c93 commit 10aec0f
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
@@ -659,7 +659,7 @@ Protractor.prototype.get = function(destination, opt_timeout) {
return self.driver.getCurrentUrl().then(function(url) {
return url !== 'about:blank';
});
}, 300);
}, timeout * 1000);

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

0 comments on commit 10aec0f

Please sign in to comment.