Skip to content

Commit

Permalink
data-test-subj for indexPatter-switcher
Browse files Browse the repository at this point in the history
  • Loading branch information
thompsongl committed Jul 29, 2020
1 parent 5b72e28 commit 2f84eed
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ export function ChangeIndexPattern({
onChangeIndexPattern,
trigger,
selectableProps,
'data-test-subj': dataTestSubj,
}: {
trigger: ChangeIndexPatternTriggerProps;
indexPatternRefs: IndexPatternRef[];
Expand Down Expand Up @@ -65,6 +66,7 @@ export function ChangeIndexPattern({
</EuiPopoverTitle>
<EuiSelectable
{...selectableProps}
data-test-subj={dataTestSubj}
searchable
singleSelection="always"
options={indexPatternRefs.map(({ title, id }) => ({
Expand Down

0 comments on commit 2f84eed

Please sign in to comment.