mirror of
https://github.com/adoyle0/thaw.git
synced 2025-01-23 14:29:22 -05:00
21506b2164
* feat: add ssr_axum template * feat: demo added the ssr mode * fix: demo ssr mode * feat(ssr): mount_style * pref: delete some useless fikes * fix(ssr): problems caused by using wasm_bindgen * feat: add hydrate * pref: Demo component * fix(hydrate): teleport component * fix(hydrate): hydrate feature * fix(hydrate): tabs component * feat: GlobalStyle component margin style * docs(ssr): static assets
9 lines
298 B
TypeScript
9 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!");
|
|
});
|