Initial commit
This commit is contained in:
8
e2e/example.spec.ts
Normal file
8
e2e/example.spec.ts
Normal file
@@ -0,0 +1,8 @@
|
||||
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();
|
||||
});
|
||||
Reference in New Issue
Block a user