diff --git a/tests/test.ts b/tests/test.ts index 47c3c06..da25357 100644 --- a/tests/test.ts +++ b/tests/test.ts @@ -2,5 +2,6 @@ import { expect, test } from '@playwright/test'; test('index page has expected h1', async ({ page }) => { await page.goto('/'); + await expect(page.getByRole('heading', { name: 'G\'schäft\'lhaberer' })).toBeVisible(); });