import * as enzyme from 'enzyme';
import * as puppeteer from 'puppeteer';
import * as React from 'react';
import { MessageBoxFunctionalLayout } from '..';
import { messageBoxFunctionalLayoutTestkitFactory } from '../../../testkit';
import { messageBoxFunctionalLayoutTestkitFactory as messageBoxFunctionalLayoutEnzymeTestkitFactory } from '../../../testkit/enzyme';
import { messageBoxFunctionalLayoutTestkitFactory as messageBoxFunctionalLayoutPuppeteerTestkitFactory } from '../../../testkit/puppeteer';
function MessageBoxFunctionalLayoutWithMandatoryProps() {
return ;
}
function MessageBoxFunctionalLayoutWithAllProps() {
return (
}
cancelSuffixIcon={
}
cancelText="text"
closeButton
confirmPrefixIcon={}
confirmSuffixIcon={}
confirmText="text"
dataHook="hook"
disableCancel
disableConfirmation
footerBottomChildren={}
fullscreen
hideFooter
image={}
margin="10"
maxHeight="10px"
noBodyPadding
onCancel={_ev => {}}
onClose={_ev => {}}
onOk={_ev => {}}
sideActions={}
theme="blue"
title="title"
width="10"
withEmptyState
/>
);
}
async function testkits() {
const testkit = messageBoxFunctionalLayoutTestkitFactory({
dataHook: 'hook',
wrapper: document.createElement('div'),
});
const enzymeTestkit = messageBoxFunctionalLayoutEnzymeTestkitFactory({
dataHook: 'hook',
wrapper: enzyme.mount(),
});
const browser = await puppeteer.launch();
const page = await browser.newPage();
const puppeteerTestkit = await messageBoxFunctionalLayoutPuppeteerTestkitFactory(
{
dataHook: 'hook',
page,
},
);
}