Skip to content

Commit

Permalink
add data-test attribute to cluster state label
Browse files Browse the repository at this point in the history
  • Loading branch information
idevat committed Oct 24, 2022
1 parent 84a8392 commit df2c16c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/app/view/share/ClusterStatusLabel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,11 @@ export const ClusterStatusLabel = ({
status: Cluster["status"];
}) => {
return (
<Label color={statusColorMap[status]} isCompact>
<Label
data-test="cluster-status-label"
color={statusColorMap[status]}
isCompact
>
{status}
</Label>
);
Expand Down

0 comments on commit df2c16c

Please sign in to comment.