cv-site/tests/test.ts

7 lines
202 B
TypeScript
Raw Permalink Normal View History

2022-04-18 15:36:18 +02:00
import { expect, test } from '@playwright/test';
test('index page has expected h1', async ({ page }) => {
await page.goto('/');
expect(await page.textContent('h1')).toBe('Welcome to SvelteKit');
});