## CircularProgressBar Testkit

### Import

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

### isSuccessIconDisplayed
- signature: isSuccessIconDisplayed()
- returns: Promise<boolean>
- description: Checks whether the success icon is displayed

### isErrorIconDisplayed
- signature: isErrorIconDisplayed()
- returns: Promise<boolean>
- description: Checks whether the error icon is displayed

### isLabelDisplayed
- signature: isLabelDisplayed()
- returns: Promise<boolean>
- description: Checks whether the label text is displayed

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

### isPercentagesProgressDisplayed
- signature: isPercentagesProgressDisplayed()
- returns: Promise<boolean>
- description: Checks whether the progress percentages are displayed

### getValue
- signature: getValue()
- returns: Promise<string>
- description: Gets the progress percentages value

### isCompleted
- signature: isCompleted()
- returns: Promise<boolean>
- description: Checks whether the progress completed (value is 100)

### hasError
- signature: hasError()
- returns: Promise<boolean>
- description: Checks whether an error occurred

### isErrorIconShown
- signature: isErrorIconShown()
- returns: Promise<boolean>
- description: Checks whether error icon is shown

### isSuccessIconShown
- signature: isSuccessIconShown()
- returns: Promise<boolean>
- description: Checks whether success icon is shown

### getSize
- signature: getSize()
- returns: Promise<string>
- description: Gets size.

### getTooltipErrorMessage
- signature: getTooltipErrorMessage()
- returns: Promise<string>
- description: Gets the tooltip error message

### hasSkin
- signature: hasSkin(skinName)
- returns: Promise<boolean>
- description: Checks whether progress bar has a given skin
