## TestimonialList Testkit

### Import

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

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

### hasTestimonialAvatar
- signature: hasTestimonialAvatar(testimonialIndex)
- returns: Promise<boolean>
- description: Checks whether testimonial's avatar exist

### hasTestimonialText
- signature: hasTestimonialText(testimonialIndex)
- returns: Promise<boolean>
- description: Checks whether testimonial's text exist

### getTestimonialText
- signature: getTestimonialText(testimonialIndex)
- returns: Promise<string>
- description: Gets the testimonial's text

### hasTestimonialAuthorName
- signature: hasTestimonialAuthorName(testimonialIndex)
- returns: Promise<boolean>
- description: Checks whether testimonial's author name exist

### getTestimonialAuthorName
- signature: getTestimonialAuthorName(testimonialIndex)
- returns: Promise<string>
- description: Gets the testimonial's author name
