import { test, expect } from "@playwright/test"; test("home page renders heading", async ({ page }) => { await page.goto("/"); // Page renders and shows the heading await expect(page.locator("h1").first()).toBeVisible(); });