import { expect, test } from '@playwright/test'; test('homepage shows the project title', async ({ page }) => { await page.goto('/'); await expect(page.locator('h1')).toContainText('{{ cookiecutter.project_name }}'); }); test('counter increments on click', async ({ page }) => { await page.goto('/'); const buttons = page.getByRole('button'); await expect(buttons.first()).toBeVisible(); });