Skip to content

Commit

Permalink
uses data-test-subj locator instead of class
Browse files Browse the repository at this point in the history
  • Loading branch information
MadameSheema committed Aug 16, 2020
1 parent ff04b7c commit 1f0ca79
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/plugins/data/public/ui/filter_bar/filter_item.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -347,6 +347,7 @@ export function FilterItem(props: Props) {
anchorPosition="downLeft"
withTitle={true}
panelPaddingSize="none"
data-test-subj="filter"
>
<EuiContextMenu initialPanelId={0} panels={getPanels()} />
</EuiPopover>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,4 @@ export const ADD_FILTER_FORM_FILTER_VALUE_INPUT = '[data-test-subj="filterParams

export const ADD_FILTER_FORM_SAVE_BUTTON = '[data-test-subj="saveFilter"]';

export const GLOBAL_SEARCH_BAR_FILTER_ITEM = '.globalFilterItem';
export const GLOBAL_SEARCH_BAR_FILTER_ITEM = '[data-test-subj="filter"]';

0 comments on commit 1f0ca79

Please sign in to comment.