## SidePanel Testkit

### Import

- unidriver: `import { SidePanelUniDriver } from '@wix/design-system/dist/testkit/unidriver';`
- vanilla: `import { SidePanelTestkit } from '@wix/design-system/dist/testkit';`
- puppeteer: `import { SidePanelTestkit } from '@wix/design-system/dist/testkit/puppeteer';`
- playwright: `import { SidePanelTestkit } 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.

### clickHelp
- signature: clickHelp()
- returns: Promise<void>
- description: Click help button

### clickClose
- signature: clickClose()
- returns: Promise<void>
- description: Click close button

### clickBack
- signature: clickBack()
- returns: Promise<void>
- description: Click back button

### getHelpButtonAriaLabel
- signature: getHelpButtonAriaLabel()
- returns: Promise<string | null>
- description: Get help button aria-label

### getCloseButtonAriaLabel
- signature: getCloseButtonAriaLabel()
- returns: Promise<string | null>
- description: Get close button aria-label

### getBackButtonAriaLabel
- signature: getBackButtonAriaLabel()
- returns: Promise<string | null>
- description: Get back button aria-label

### getTitleText
- signature: getTitleText()
- returns: Promise<string>
- description: Get title text

### getPrefix
- signature: getPrefix()
- returns: Promise<HTMLElement>
- description: Get Prefix element

### getSuffix
- signature: getSuffix()
- returns: Promise<HTMLElement>
- description: Get Suffix element

### getContent
- signature: getContent()
- returns: Promise<HTMLElement>
- description: Get Content Element

### getSubtitleText
- signature: getSubtitleText()
- returns: Promise<string>
- description: Get subtitle text

### getTooltipContent
- signature: getTooltipContent()
- returns: Promise<string>
- description: Get tooltip text

### getBackButtonTooltipContent
- signature: getBackButtonTooltipContent()
- returns: Promise<string | null>
- description: Get back button tooltip content

### isHeaderDividerExists
- signature: isHeaderDividerExists()
- returns: Promise<boolean>
- description: Check if divider exists

### isCloseButtonExists
- signature: isCloseButtonExists()
- returns: Promise<boolean>
- description: Check if close button exists

### isHelpButtonExists
- signature: isHelpButtonExists()
- returns: Promise<boolean>
- description: Check if help button exists

### isFooterDividerExists
- signature: isFooterDividerExists()
- returns: Promise<boolean>
- description: Check if divider exists

### isBackButtonExists
- signature: isBackButtonExists()
- returns: Promise<boolean>
- description: Check if back button exists
