From 852dcf4362e270fd5a707d1c396d08d5b750f6d2 Mon Sep 17 00:00:00 2001 From: bhavyarm Date: Tue, 29 Sep 2020 16:45:22 -0400 Subject: [PATCH] unloading logstash data plus picking flights indexpattern in discover for filter panel tests --- test/accessibility/apps/filter_panel.ts | 1 + test/accessibility/apps/management.ts | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/test/accessibility/apps/filter_panel.ts b/test/accessibility/apps/filter_panel.ts index 05704792a8b97..02f02ca015cac 100644 --- a/test/accessibility/apps/filter_panel.ts +++ b/test/accessibility/apps/filter_panel.ts @@ -33,6 +33,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { }); await PageObjects.home.addSampleDataSet('flights'); await PageObjects.common.navigateToApp('discover'); + await PageObjects.discover.selectIndexPattern('kibana_sample_data_flights'); }); it('a11y test on add filter panel', async () => { diff --git a/test/accessibility/apps/management.ts b/test/accessibility/apps/management.ts index 08177f54ee881..994aa03950437 100644 --- a/test/accessibility/apps/management.ts +++ b/test/accessibility/apps/management.ts @@ -35,6 +35,10 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { await PageObjects.settings.navigateTo(); }); + after(async () => { + await esArchiver.unload('logstash_functional'); + }); + it('main view', async () => { await a11y.testAppSnapshot(); });