## StatusIndicator Testkit

### Import

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

### getStatus
- signature: getStatus()
- returns: Promise<StatusIndicatorState>
- description: Returns the type of the status oneOf(error, warning, success, loading)

### hasMessage
- signature: hasMessage()
- returns: Promise<boolean>
- description: Returns true if a message was provided

### getMessage
- signature: getMessage()
- returns: Promise<string | null>
- description: Returns the message text
