rowt/svelte/tests/test.ts
2023-07-16 18:42:59 +02:00

7 lines
223 B
TypeScript

import { expect, test } from '@playwright/test';
test('about page has expected h1', async ({ page }) => {
await page.goto('/about');
await expect(page.getByRole('heading', { name: 'About this app' })).toBeVisible();
});