redvault-ai/garnix/leptos_stub/end2end/tests/example.spec.ts
Tristan Druyen 78f89dcd8b
Add garnix
Modified-by: Tristan Druyen <tristan@vault81.de>
2025-01-31 12:28:07 +01:00

9 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!");
});