1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-29 18:50:08 +03:00

F #3951: fix front elements for test

Signed-off-by: Jorge Lobo <jlobo@opennebula.io>
This commit is contained in:
Jorge Lobo 2020-12-10 17:13:13 +01:00 committed by Tino Vázquez
parent e948f16b44
commit a395f0305b
2 changed files with 2 additions and 1 deletions

View File

@ -49,7 +49,7 @@ const HeaderPopover = ({
>
{icon}
{buttonLabel && (
<span className={classes.buttonLabel}>{buttonLabel}</span>
<span className={classes.buttonLabel} data-cy="header-username">{buttonLabel}</span>
)}
</Button>
<Popover

View File

@ -29,6 +29,7 @@ const SidebarLink = ({ label, path, icon: Icon, devMode, isSubItem }) => {
return (
<ListItem
button
component='li'
onClick={handleClick}
selected={pathname === path}
className={clsx({ [classes.subItem]: isSubItem })}