edge-ruedelasoif/tests/test.js

7 lines
202 B
JavaScript
Raw Normal View History

2024-02-23 20:48:46 +01: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');
});