peer-at-code-web/e2e/demo.test.ts
2025-01-28 21:14:10 +01:00

6 lines
182 B
TypeScript

import { expect, test } from '@playwright/test';
test('home page has expected h1', async ({ page }) => {
await page.goto('/');
await expect(page.locator('h1')).toBeVisible();
});