12 lines
431 B
TypeScript
12 lines
431 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!");
|
|
});
|
|
|
|
// TODO add a simple e2e smoke test here which chats with the model with a simple question
|
|
// TODO add a small (<2GB) testing model
|