probo-app/frontend/tests/test.ts
2023-06-29 10:52:15 +02:00

6 lines
224 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();
});