Skip to content

Commit

Permalink
Add back those calls that were in the previous after call, use them i…
Browse files Browse the repository at this point in the history
…n this before instead
  • Loading branch information
wayneseymour committed May 10, 2021
1 parent 0e9d2f5 commit 8fefc73
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions test/functional/apps/visualize/_histogram_request_start.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ import { FtrProviderContext } from '../../ftr_provider_context';
export default function ({ getService, getPageObjects }: FtrProviderContext) {
const log = getService('log');
const retry = getService('retry');
const esArchiver = getService('esArchiver');
const kibanaServer = getService('kibanaServer');

const PageObjects = getPageObjects([
'common',
Expand All @@ -24,6 +26,13 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {

describe('histogram agg onSearchRequestStart', function () {
before(async function () {
// loading back default data
await esArchiver.load('empty_kibana');

await kibanaServer.importExport.load('discover');
await esArchiver.loadIfNeeded('logstash_functional');
await esArchiver.loadIfNeeded('long_window_logstash');

await PageObjects.visualize.initTests();
log.debug('navigateToApp visualize');
await PageObjects.visualize.navigateToNewAggBasedVisualization();
Expand Down

0 comments on commit 8fefc73

Please sign in to comment.