## FeatureList Testkit

### Import

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

### getNumberOfFeatures
- signature: getNumberOfFeatures()
- returns: Promise<number>
- description: Gets the number of the features that exist in the footer

### hasFeatureTitle
- signature: hasFeatureTitle(featureIndex)
- returns: Promise<boolean>
- description: Checks whether feature's title exist

### getFeatureTitle
- signature: getFeatureTitle(featureIndex)
- returns: Promise<string>
- description: Gets the feature's title

### hasFeatureText
- signature: hasFeatureText(featureIndex)
- returns: Promise<boolean>
- description: Checks whether feature's text exist

### getFeatureText
- signature: getFeatureText(featureIndex)
- returns: Promise<string>
- description: Gets the feature's text

### hasFeatureImage
- signature: hasFeatureImage(featureIndex, predicate)
- returns: Promise<boolean>
- description: Checks whether the feature has an image node with the given predicate.
