shadow/tests/test.ts

7 lines
223 B
TypeScript
Raw Normal View History

2024-04-21 04:01:09 +01: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();
});