2022-08-23 14:08:53 -07:00

10 lines
305 B
TypeScript

import { test, expect } from '@playwright/experimental-ct-solid'
import Button from './components/Button';
test.use({ viewport: { width: 500, height: 500 } });
test('should work', async ({ mount }) => {
const component = await mount(<Button />);
await expect(component).toContainText('Submit');
});