feat: add cuddle leptos

Signed-off-by: kjuulh <contact@kjuulh.io>
This commit is contained in:
2024-09-07 22:08:35 +02:00
parent 7688d45cc1
commit c13631cf7f
26 changed files with 3345 additions and 0 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!");
});