## SidebarSubMenuNext Testkit

### Import

- unidriver: `import { SidebarSubMenuNextUniDriver } from '@wix/design-system/dist/testkit/unidriver';`
- vanilla: `import { SidebarSubMenuNextTestkit } from '@wix/design-system/dist/testkit';`
- puppeteer: `import { SidebarSubMenuNextTestkit } from '@wix/design-system/dist/testkit/puppeteer';`
- playwright: `import { SidebarSubMenuNextTestkit } from '@wix/design-system/dist/testkit/playwright';`

### API

### exists
- signature: exists()
- returns: Promise<boolean>
- description: Checks whether the component found with the given data hook

### element
- signature: element()
- returns: Promise<any>
- description: Gets the component root element

### click
- signature: click()
- returns: Promise<void>
- description: Clicks on the component root element

### base
- signature: base()
- returns: UniDriver
- description: Returns UniDriver for the base element

### isExpanded
- signature: isExpanded()
- returns: Promise<boolean>
- description: Returns true if submenu is expanded

### click
- signature: click()
- returns: Promise<any>
- description: Clicks on the sidebar submenu

### triggerMouseEnter
- signature: triggerMouseEnter()
- returns: Promise<void>
- description: Triggers a mouseEnter event

### isDisabled
- signature: isDisabled()
- returns: Promise<boolean>
- description: Returns if the sidebar submenu is disabled

### getTitle
- signature: getTitle(dataHook)
- returns: Promise<any>
- description: Returns the submenu title

### getTitleText
- signature: getTitleText()
- returns: Promise<string>
- description: Returns the submenu title text

### isQuickNavOpen
- signature: isQuickNavOpen()
