feat: Add sample leptos webapp as example

This commit is contained in:
2025-07-02 23:13:08 -04:00
parent 6371009c6f
commit fb7849c010
20 changed files with 988 additions and 3 deletions

View File

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