## Avatar Testkit

### Import

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

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

### getContentType
- signature: getContentType()
- returns: Promise< |  | >
- description: Gets the content type

### getTextContent
- signature: getTextContent()
- returns: Promise<string>
- description: Gets the text content

### isImageLoaded
- signature: isImageLoaded()
- returns: Promise<boolean>
- description: Checks whether the image is loaded

### hover
- signature: hover()
- returns: Promise<void>
- description: Hovers the component

### indicationExists
- signature: indicationExists()
- returns: Promise<boolean>
- description: Checks whether the Avatar indication exists

### clickIndication
- signature: clickIndication()
- returns: Promise<void>
- description: Clicks the Avatar indication

### customIndicationExists
- signature: customIndicationExists()
- returns: Promise<boolean>
- description: Checks whether the Avatar custom indication exists

### clickCustomIndication
- signature: clickCustomIndication()
- returns: Promise<void>
- description: Clicks the Avatar custom indication

### isLoading
- signature: isLoading()
- returns: Promise<boolean>
- description: Checks whether the Avatar is loading
