import { expect, test } from "@playwright/test" test("has text", async ({ page }) => { await page.goto("/") await expect(page.getByText(/hello world/i)).toBeVisible() })