test(web-tanstack): add Playwright scaffold + skipped home spec
This commit is contained in:
12
apps/web-tanstack/e2e/home.spec.ts
Normal file
12
apps/web-tanstack/e2e/home.spec.ts
Normal 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();
|
||||
},
|
||||
);
|
||||
Reference in New Issue
Block a user