Move test timeouts to top describe level.

This commit is contained in:
LeeDr 2015-11-23 13:43:47 -06:00
parent 9cdadc9de2
commit b68b644c11
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');