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