rowt/svelte/tests/test.ts

7 lines
223 B
TypeScript
Raw Normal View History

2023-06-16 20:11:42 +02:00
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();
});