homeservice/webui/tests/test.js

7 lines
203 B
JavaScript
Raw Permalink Normal View History

2023-02-09 08:47:49 +00:00
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');
});