Move timeout back to describe.

This commit is contained in:
LeeDr 2015-11-20 16:21:55 -06:00
parent 6ea23eb590
commit 9b6994be96
2 changed files with 2 additions and 2 deletions

View file

@ -13,13 +13,13 @@ define(function (require) {
var scenarioManager;
var remote;
var scenarioManager = new ScenarioManager(url.format(config.servers.elasticsearch));
this.timeout = 120000;
// on setup, we create an settingsPage instance
// that we will use for all the tests
bdd.before(function () {
common = new Common(this.remote);
remote = this.remote;
this.timeout = 120000;
});
bdd.after(function unloadMakelogs() {

View file

@ -12,11 +12,11 @@ define(function (require) {
bdd.describe('settings app', function () {
var scenarioManager = new ScenarioManager(url.format(config.servers.elasticsearch));
this.timeout = 120000;
// on setup, we create an settingsPage instance
// that we will use for all the tests
bdd.before(function () {
this.timeout = 120000;
return scenarioManager.reload('emptyKibana')
.then(function () {
return scenarioManager.loadIfEmpty('makelogs');