cleanup, tweak URL wait time

This commit is contained in:
Joe Fleming 2015-10-30 16:37:47 -07:00
parent 6a18a112b5
commit 33372cd7ac
4 changed files with 2 additions and 6 deletions

View file

@ -37,7 +37,6 @@ ScenarioManager.prototype.load = function (id) {
body: require(path.join(scenario.baseDir, bulk.source)),
});
});
}));
};

View file

@ -14,8 +14,6 @@ define(function (require) {
});
bdd.it('should load with time pattern checked', function () {
console.log(Object.keys(this));
return settingsPage.getTimeBasedEventsCheckbox().isSelected()
.then(function (selected) {
expect(selected).to.be.ok();

View file

@ -32,7 +32,7 @@ define(function (require) {
return scenarioManager.loadIfEmpty('makelogs');
})
.then(function () {
return common.sleep(2500);
return common.sleep(3000);
})
.then(function () {
return common.tryForTime(25000, function () {
@ -40,6 +40,7 @@ define(function (require) {
pathname: ''
})))
.then(function () {
// give angular enough time to update the URL
return common.sleep(2000);
})
.then(function () {

View file

@ -12,8 +12,6 @@ define(function (require) {
this.remote = remote;
}
var defaultTimeout = 5000;
Common.prototype = {
constructor: Common,