All items in menu will have test context
This commit is contained in:
parent
44b3b66ff3
commit
4166bff0a9
1 changed files with 2 additions and 0 deletions
|
@ -313,6 +313,8 @@ const MenuList: React.FC<MenuListProps> = props => {
|
|||
href={createHref(menuItem.url)}
|
||||
onClick={event => closeSubMenu(menuItem.url, event)}
|
||||
key={menuItem.label}
|
||||
data-testid={menuItem.testingContextId}
|
||||
data-test="menuItemEntry"
|
||||
>
|
||||
<div className={classes.menuItemHover}>
|
||||
<SVG
|
||||
|
|
Loading…
Reference in a new issue