Skip to content

Commit a10e6b9

Browse files
committed
Add a very basic Playwright test
1 parent c7a9b2f commit a10e6b9

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

e2e/home.spec.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
import { test, expect } from '@playwright/test';
2+
3+
test('home page', async ({ page }) => {
4+
await page.goto('/');
5+
await expect(page).toHaveTitle(/Search the CPAN - metacpan.org/, { timeout: 10 });
6+
});

0 commit comments

Comments
 (0)