## BarChart Testkit

### Import

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

### getItemsCount
- signature: getItemsCount()
- returns: Promise<number>
- description: Gets number of items

### getValue
- signature: getValue(index)
- returns: Promise<string>
- description: Gets item value at index

### getValueInShort
- signature: getValueInShort(index)
- returns: Promise<string>
- description: Gets item short value by index

### getDescription
- signature: getDescription(index)
- returns: Promise<string>
- description: Gets item description by index

### getDescriptionInfo
- signature: getDescriptionInfo(index)
- returns: Promise<string>
- description: Gets item tooltip text by index
