import { expect, test } from '@playwright/test' // Playwright specs live here and must never be picked up by Vitest — // vitest.config.ts scopes itself to src/ for exactly that reason. test('start page renders', async ({ page }) => { await page.goto('/') await expect( page.getByRole('heading', { name: 'AI Coding Starter Kit' }) ).toBeVisible() }) test('health endpoint answers', async ({ request }) => { const response = await request.get('/api/health') expect(response.ok()).toBe(true) expect(await response.json()).toEqual({ status: 'ok' }) })