diff --git a/ui/snippets/navigation/vertical/NavLinkGroup.tsx b/ui/snippets/navigation/vertical/NavLinkGroup.tsx index 89d368a96d..a44121df71 100644 --- a/ui/snippets/navigation/vertical/NavLinkGroup.tsx +++ b/ui/snippets/navigation/vertical/NavLinkGroup.tsx @@ -2,7 +2,6 @@ import { Text, HStack, Box, - Link, PopoverTrigger, PopoverContent, PopoverBody, @@ -38,11 +37,12 @@ const NavLinkGroup = ({ item, isCollapsed }: Props) => { - { transitionTimingFunction="ease" /> - + { item.text } - + { item.subItems.map((subItem, index) => Array.isArray(subItem) ? ( { , { hooksConfig }, ); - await page.locator('a[aria-label="Blockchain link group"]').hover(); + await page.locator('div[aria-label="Blockchain link group"]').hover(); }); test('', async() => { @@ -239,7 +239,7 @@ test.describe('with highlighted routes', () => { }); test('with submenu', async({ page }) => { - await page.locator('a[aria-label="Blockchain link group"]').hover(); + await page.locator('div[aria-label="Blockchain link group"]').hover(); await expect(component).toHaveScreenshot(); });