1
0

9 lines
265 B
TypeScript
Raw Normal View History

2024-10-10 21:02:54 -05:00
import { expect, test } from '@playwright/test';
2024-10-11 00:03:49 -05:00
test('page has headline', async ({ page }) => {
2024-10-10 21:02:54 -05:00
await page.goto('/');
2024-10-11 00:03:49 -05:00
const headline = page.locator('header h1');
await expect(headline).toBeVisible();
await expect(headline).toHaveText('resumarkdown');
2024-10-10 21:02:54 -05:00
});