home/tests/test.js
Thomas Klaehn 2dae840c64 initial commit
Signed-off-by: Thomas Klaehn <thomas.klaehn@perinet.io>
2023-02-01 08:36:45 +01:00

7 lines
203 B
JavaScript

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');
});