como/crates/como_web/end2end/tests/example.spec.ts
kjuulh 71b5a63700
Some checks failed
continuous-integration/drone/push Build is failing
feat: with como_web
Signed-off-by: kjuulh <contact@kjuulh.io>
2023-10-21 11:23:11 +02:00

10 lines
298 B
TypeScript

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