add: boilerplate

This commit is contained in:
2025-05-01 22:07:35 -07:00
commit 8cfa9d2716
16 changed files with 754 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
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!");
});