7 lines
182 B
JavaScript
Raw Normal View History

2024-12-30 21:44:47 +00:00
import { expect, test } from '@playwright/test';
test('home page has expected h1', async ({ page }) => {
await page.goto('/');
await expect(page.locator('h1')).toBeVisible();
});