## CardGalleryItem Testkit

### Import

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

### getTitle
- signature: getTitle()
- description: Gets the cards title.

### getBadge
- signature: getBadge()
- description: Gets the badge node element.

### getSubtitle
- signature: getSubtitle()
- description: Gets the cards subtitle.

### getBackgroundImageUrl
- signature: getBackgroundImageUrl()
- description: Gets the background image URL.

### click
- signature: click()
- description: Clicks on the primary action.

### clickOnContainer
- signature: clickOnContainer()
- description: Clicks on the container.

### clickFooter
- signature: clickFooter()
- description: Clicks on the footer.

### getPrimaryActionLabel
- signature: getPrimaryActionLabel()
- description: Gets the primary action label.

### isPrimaryActionDisabled
- signature: isPrimaryActionDisabled()
- description: Checks whether the primary action is clickable.

### clickOnPrimaryAction
- signature: clickOnPrimaryAction()
- description: Clicks on the primary action button.

### getSecondaryActionLabel
- signature: getSecondaryActionLabel()
- description: Gets the secondary action label. l

### clickOnSecondaryAction
- signature: clickOnSecondaryAction()
- description: Clicks on the secondary action.

### getSettingsMenu
- signature: getSettingsMenu()
- description: Gets the the settingsMenu node.

### getBackgroundImageNode
- signature: getBackgroundImageNode()
- description: Gets the background image element.

### hover
- signature: hover()
- description: Hovers the component.

### dragHandleExists
- signature: dragHandleExists()
- description: Indicates drag handle exists

### clickDragHandle
- signature: clickDragHandle()

### hoverDragHandle
- signature: hoverDragHandle()

### isDragHandleTooltipEnabled
- signature: isDragHandleTooltipEnabled()

### getDragHandleTooltipContent
- signature: getDragHandleTooltipContent()

### getCustomFooter
- signature: getCustomFooter()
