test(web-tanstack): add Playwright scaffold + skipped home spec

This commit is contained in:
2026-05-05 09:26:19 +02:00
parent 106e5c2737
commit a7b9890db5
5 changed files with 42 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
import { test, expect } from "@playwright/test";
test.skip(
"TanStack home renders site name + nav (pending TanStack Start runtime)",
async ({ page }) => {
// Pending: web-tanstack has no dev server yet. When the TanStack Start
// runtime is wired (future plan), update the playwright.config.ts
// webServer to start it on port 3002 and remove this skip.
await page.goto("http://localhost:3002");
await expect(page.locator("h1").first()).toBeVisible();
},
);