import { test, expect } from '@playwright/experimental-ct-solid';
import Button from './components/Button';
import DefaultChildren from './components/DefaultChildren';
import MultipleChildren from './components/MultipleChildren';
import MultiRoot from './components/MultiRoot';
import EmptyFragment from './components/EmptyFragment';
test.use({ viewport: { width: 500, height: 500 } });
test('render props', async ({ mount }) => {
const component = await mount();
await expect(component).toContainText('Submit');
});
test('execute callback when the button is clicked', async ({ mount }) => {
const messages: string[] = [];
const component = await mount(