Remove a console.log from scenarioManager. Add 1s delay before setting saved query name so we don't end up with concatenated name.

This commit is contained in:
LeeDr 2015-12-01 10:20:59 -06:00
parent c4b60c9c88
commit 5d36e8749e
2 changed files with 3 additions and 1 deletions

View file

@ -62,7 +62,6 @@ ScenarioManager.prototype.unload = function (id) {
return bulk.indexName;
});
console.log('DELETING INDEX: ' + indices);
return this.client.indices.delete({
index: indices
})

View file

@ -35,6 +35,9 @@ define(function (require) {
saveSearch: function saveSearch(searchName) {
var self = this;
return self.clickSaveSearchButton()
.then(function () {
common.sleep(1000);
})
.then(function () {
common.debug('--saveSearch button clicked');
return thisTime.findById('SaveSearch')