Skip to content

Commit

Permalink
add data-test-subj for refresh data button in discover (opensearch-pr…
Browse files Browse the repository at this point in the history
…oject#8782)

Signed-off-by: Anan Zhuang <[email protected]>
  • Loading branch information
ananzh authored Nov 5, 2024
1 parent 78204a0 commit 758e4fb
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,12 @@ export const DiscoverUninitialized = ({ onRefresh }: Props) => {
</p>
}
actions={
<EuiSmallButton color="primary" fill onClick={onRefresh}>
<EuiSmallButton
color="primary"
fill
onClick={onRefresh}
data-test-subj="discover-refreshDataButton"
>
<FormattedMessage
id="discover.uninitializedRefreshButtonText"
defaultMessage="Refresh data"
Expand Down

0 comments on commit 758e4fb

Please sign in to comment.