6
tests/test.js
Normal file
6
tests/test.js
Normal file
@@ -0,0 +1,6 @@
|
||||
import { expect, test } from '@playwright/test';
|
||||
|
||||
test('about page has expected h1', async ({ page }) => {
|
||||
await page.goto('/about');
|
||||
await expect(page.locator('h1')).toHaveText('About this app');
|
||||
});
|
Reference in New Issue
Block a user