home/tests/test.js
Thomas Klaehn e53ef0a193 initial commit
Signed-off-by: Thomas Klaehn <thomas.klaehn@perinet.io>
2023-02-01 09:00:25 +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');
});