auth.andert.me/svelte/tests/test.ts

7 lines
224 B
TypeScript
Raw Normal View History

2023-07-19 09:42:47 +00:00
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();
});