## MessageBoxFunctionalLayout Testkit

### Import

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

### exists
- signature: exists()

### getConfirmationButtonText
- signature: getConfirmationButtonText()

### isConfirmationButtonPrefixIconExists
- signature: isConfirmationButtonPrefixIconExists()

### isConfirmationButtonSuffixIconExists
- signature: isConfirmationButtonSuffixIconExists()

### clickOnConfirmationButton
- signature: clickOnConfirmationButton()

### getConfirmationButton
- signature: getConfirmationButton()

### getCancellationButton
- signature: getCancellationButton()

### getHeaderCloseButton
- signature: getHeaderCloseButton()

### getCancellationButtonText
- signature: getCancellationButtonText()

### isCancellationButtonPrefixIconExists
- signature: isCancellationButtonPrefixIconExists()

### isCancellationButtonSuffixIconExists
- signature: isCancellationButtonSuffixIconExists()

### clickOnCancellationButton
- signature: clickOnCancellationButton()

### clickOnHeaderCloseButton
- signature: clickOnHeaderCloseButton()

### isThemeExist
- signature: isThemeExist(theme)

### getFooter
- signature: getFooter()

### getTitle
- signature: getTitle()

### getChildBySelector
- signature: getChildBySelector(selector)

### isCancelEnable
- signature: isCancelEnable()

### isConfirmationEnable
- signature: isConfirmationEnable()

### toHaveBodyPadding
- signature: toHaveBodyPadding()
