const { test, expect } = require("@playwright/test"); test("home page loads auth entry points", async ({ page }) => { await page.goto("/"); await expect(page.locator("h1")).toContainText("RpgRoller"); await expect(page.getByRole("heading", { name: "Register" })).toBeVisible(); await expect(page.getByRole("heading", { name: "Login" })).toBeVisible(); await expect(page.getByLabel("Username").first()).toBeVisible(); await expect(page.getByLabel("Password").nth(1)).toBeVisible(); });