Files
Oliver Walter 5f43c19878 initial
2026-06-06 15:37:42 +02:00

10 lines
291 B
TypeScript

import { test, expect } from "@playwright/test";
test("homepage has title and heading text", async ({ page }) => {
await page.goto("http://localhost:3000/");
await expect(page).toHaveTitle("Welcome to Leptos");
await expect(page.locator("h1")).toHaveText("Welcome to Leptos!");
});