Files
website/tests/test.ts
Jesse Winton dc674dd31b fix
2024-08-27 15:06:06 -04:00

7 lines
230 B
TypeScript

import { expect, test } from '@playwright/test';
test('index page has expected h1', async ({ page }) => {
await page.goto('/');
await expect(page.getByRole('heading', { name: 'Welcome to SvelteKit' })).toBeVisible();
});