From 0bc2fbd83ed613c3de4af80ed9394561aee86def Mon Sep 17 00:00:00 2001 From: Liza K Date: Sun, 31 May 2020 14:52:20 +0300 Subject: [PATCH] Update test to match data --- test/functional/apps/dashboard/dashboard_filter_bar.js | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/test/functional/apps/dashboard/dashboard_filter_bar.js b/test/functional/apps/dashboard/dashboard_filter_bar.js index 1689ac2b27a8c..6bc34a8b998a4 100644 --- a/test/functional/apps/dashboard/dashboard_filter_bar.js +++ b/test/functional/apps/dashboard/dashboard_filter_bar.js @@ -205,12 +205,9 @@ export default function ({ getService, getPageObjects }) { }); it('filter from unrelated index pattern is still applicable if field name is found', async function () { - const hasUnrelatedIndexPatternFilter = await filterBar.hasFilter('animal', 'exists', true); - expect(hasUnrelatedIndexPatternFilter).to.be(true); - const hasUnrelatedIndexPatternFilterPhrase = await filterBar.hasFilter( - 'animal', - 'Cat', + '@timestamp', + '123', true ); expect(hasUnrelatedIndexPatternFilterPhrase).to.be(true);