1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-23 22:50:09 +03:00

F OpenNebula/one#6443: Add data cy to group and view menu (#2888)

(cherry picked from commit 779a0176c35a87e1e111030c0587cf777461adc9)
This commit is contained in:
David 2024-01-10 13:27:24 +01:00 committed by Tino Vázquez
parent f2380823dd
commit 2abb92c1be
No known key found for this signature in database
GPG Key ID: 14201E424D02047E
2 changed files with 2 additions and 0 deletions

View File

@ -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',

View File

@ -39,6 +39,7 @@ const ButtonView = memo(
fullWidth
color="debug"
variant="outlined"
data-cy={`view-${view}`}
onClick={() => {
view && !isCurrentView && changeView(view)
handleClick()