lets see if safari will work with this...
This commit is contained in:
parent
90060dde4c
commit
337dd99b06
@ -35,7 +35,6 @@ var nt = nThen;
|
|||||||
nt = nt(function (waitFor) {
|
nt = nt(function (waitFor) {
|
||||||
var done = waitFor();
|
var done = waitFor();
|
||||||
console.log('\n\n-----TEST ' + url + ' -----');
|
console.log('\n\n-----TEST ' + url + ' -----');
|
||||||
driver.get(url);
|
|
||||||
var waitTo = setTimeout(function () {
|
var waitTo = setTimeout(function () {
|
||||||
console.log("no report in 20 seconds, timing out");
|
console.log("no report in 20 seconds, timing out");
|
||||||
failed = true;
|
failed = true;
|
||||||
@ -69,7 +68,7 @@ var nt = nThen;
|
|||||||
if (done) { setTimeout(logMore, 50); }
|
if (done) { setTimeout(logMore, 50); }
|
||||||
}));
|
}));
|
||||||
};
|
};
|
||||||
logMore();
|
driver.get(url).then(waitFor(logMore));
|
||||||
}).nThen;
|
}).nThen;
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user