Skip to content

Commit

Permalink
F #6443: Add data cy to group and view menu (#2888)
Browse files Browse the repository at this point in the history
  • Loading branch information
dcarracedo committed Jan 10, 2024
1 parent 4bb6d93 commit 779a017
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/fireedge/src/client/components/Header/Group.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ const ButtonGroup = memo(
disabled={disabled}
variant={isSelected ? 'contained' : 'outlined'}
color="secondary"
data-cy={`group-${ID}`}
onClick={handleClick}
sx={{
boxShadow: 'none !important',
Expand Down
1 change: 1 addition & 0 deletions src/fireedge/src/client/components/Header/View.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ const ButtonView = memo(
fullWidth
color="debug"
variant="outlined"
data-cy={`view-${view}`}
onClick={() => {
view && !isCurrentView && changeView(view)
handleClick()
Expand Down

0 comments on commit 779a017

Please sign in to comment.