From 42b0ad5596ffbe82f99b389125ce06e150f790c9 Mon Sep 17 00:00:00 2001 From: Liza K Date: Thu, 4 Jun 2020 14:04:49 +0300 Subject: [PATCH] Adjust test result --- test/functional/apps/dashboard/dashboard_filter_bar.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/functional/apps/dashboard/dashboard_filter_bar.js b/test/functional/apps/dashboard/dashboard_filter_bar.js index fc33df26ba1f1..c931e6763f483 100644 --- a/test/functional/apps/dashboard/dashboard_filter_bar.js +++ b/test/functional/apps/dashboard/dashboard_filter_bar.js @@ -218,8 +218,8 @@ export default function ({ getService, getPageObjects }) { expect(hasWarningFieldFilter).to.be(true); }); - it('filter without an index pattern is rendred normally', async function () { - const noIndexPatternFilter = await filterBar.hasFilter('banana', 'yellow', true); + it('filter without an index pattern is rendred as a warning, if the dashboard has an index pattern', async function () { + const noIndexPatternFilter = await filterBar.hasFilter('banana', 'warn', true); expect(noIndexPatternFilter).to.be(true); }); });