import { expect, test } from "@playwright/test"; test("health endpoint is reachable", async ({ request }) => { const res = await request.get("/api/health"); expect(res.ok()).toBeTruthy(); const body = await res.json(); expect(body).toHaveProperty("status"); }); test("homepage renders", async ({ page }) => { await page.goto("/"); await expect(page).toHaveTitle(/.+/); });