Files
mifi-links/e2e/example.spec.ts
2026-02-06 15:28:27 -03:00

9 lines
336 B
TypeScript

import { test, expect } from '@playwright/test';
test('homepage has title and main content', async ({ page }) => {
await page.goto('/');
await expect(page).toHaveTitle(/mifi\.dev/);
await expect(page.getByRole('heading', { level: 1 })).toContainText('mifi.dev');
await expect(page.getByRole('main')).toBeVisible();
});