Initial commit

This commit is contained in:
2025-06-20 21:10:02 +03:00
commit 2590da46f9
18 changed files with 3818 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
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!");
await expect(page.getByRole('button')).toHaveText("Click Me: 0");
await page.click('button');
await expect(page.getByRole('button')).toHaveText("Click Me: 1");
});