Skip to content

Commit

Permalink
Adjust test result
Browse files Browse the repository at this point in the history
  • Loading branch information
Liza K committed Jun 4, 2020
1 parent 44d3cbb commit 42b0ad5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/functional/apps/dashboard/dashboard_filter_bar.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
});
});
Expand Down

0 comments on commit 42b0ad5

Please sign in to comment.