Skip to content

Commit

Permalink
add data-test-subj for refresh data button in discover (#8782)
Browse files Browse the repository at this point in the history
Signed-off-by: Anan Zhuang <[email protected]>
(cherry picked from commit 758e4fb)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
github-actions[bot] committed Nov 5, 2024
1 parent 0f27172 commit bc15f38
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 bc15f38

Please sign in to comment.