From 5d36e8749e700534d908e8691e8672166c2a93b0 Mon Sep 17 00:00:00 2001 From: LeeDr Date: Tue, 1 Dec 2015 10:20:59 -0600 Subject: [PATCH] Remove a console.log from scenarioManager. Add 1s delay before setting saved query name so we don't end up with concatenated name. --- test/fixtures/scenarioManager.js | 1 - test/support/pages/DiscoverPage.js | 3 +++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/test/fixtures/scenarioManager.js b/test/fixtures/scenarioManager.js index adba6117f664..601499278787 100644 --- a/test/fixtures/scenarioManager.js +++ b/test/fixtures/scenarioManager.js @@ -62,7 +62,6 @@ ScenarioManager.prototype.unload = function (id) { return bulk.indexName; }); - console.log('DELETING INDEX: ' + indices); return this.client.indices.delete({ index: indices }) diff --git a/test/support/pages/DiscoverPage.js b/test/support/pages/DiscoverPage.js index d2e7c2ed7dbd..043ec17d891e 100644 --- a/test/support/pages/DiscoverPage.js +++ b/test/support/pages/DiscoverPage.js @@ -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')