Skip to content

Commit

Permalink
test(app): Add data-test to ToggleButtonGroup buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
ericakdiaz committed Feb 19, 2025
1 parent 59744a6 commit c412196
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions weave-js/src/components/ToggleButtonGroup.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ export const ToggleButtonGroup = React.forwardRef<
}) => {
const button = (
<Button
data-test={`toggle-button-${optionValue}`}
icon={icon}
size={size}
onClick={() => handleValueChange(optionValue)}
Expand Down

0 comments on commit c412196

Please sign in to comment.