mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -04:00
Minor cleanup logstash return
This commit is contained in:
parent
b36f1e02a6
commit
b614e4de35
2 changed files with 3 additions and 6 deletions
|
@ -16,9 +16,6 @@ import {
|
|||
|
||||
bdd.before(function () {
|
||||
|
||||
var fromTime = '2015-09-19 06:31:44.000';
|
||||
var toTime = '2015-09-23 18:31:44.000';
|
||||
|
||||
common.debug('Starting dashboard before method');
|
||||
var logstash = scenarioManager.loadIfEmpty('logstashFunctional');
|
||||
return esClient.delete('.kibana')
|
||||
|
@ -38,7 +35,7 @@ import {
|
|||
})
|
||||
// wait for the logstash data load to finish if it hasn't already
|
||||
.then(function () {
|
||||
return logstash.then();
|
||||
return logstash;
|
||||
})
|
||||
.catch(common.handleError(this));
|
||||
});
|
||||
|
@ -93,7 +90,7 @@ import {
|
|||
|
||||
bdd.it('should save and load dashboard', function saveAndLoadDashboard() {
|
||||
var testSubName = 'Dashboard Test 1';
|
||||
// save time on the dashboard?
|
||||
// TODO: save time on the dashboard and test it
|
||||
return dashboardPage.saveDashboard(testSubName)
|
||||
// click New Dashboard just to clear the one we just created
|
||||
.then(function () {
|
||||
|
|
|
@ -30,7 +30,7 @@ import {
|
|||
})
|
||||
// wait for the logstash data load to finish if it hasn't already
|
||||
.then(function () {
|
||||
return logstash.then();
|
||||
return logstash;
|
||||
})
|
||||
.catch(common.handleError(this));
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue