lottis_imagen/web/tests/test.ts

7 lines
223 B
TypeScript
Raw Normal View History

2024-05-01 14:50:42 +00: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();
});