import { test, expect } from "@playwright/test"; test.describe("Gravl UI Tests (Browser-based)", () => { // NOTE: These tests require system graphics libraries (libXcomposite, libX11, etc.) // which are not available in the current environment. // See: TESTING.md for browser setup instructions test("login page loads", async ({ page }) => { await page.goto("/login"); await expect(page.locator("form")).toBeVisible(); }); test("logo exists", async ({ page }) => { await page.goto("/login"); const logo = await page.locator("svg, img[class*=logo], .logo").first(); await expect(logo).toBeVisible(); }); test("dashboard loads", async ({ page }) => { await page.goto("/"); await expect(page).toHaveTitle(/Gravl/); }); });