December 5, 2025
End-to-end testing with Playwright and AI-powered visual testing with Playwright MCP.
Eelco Wiersma
Both TanStack Start and Next.js starter kits now come with a fully configured Playwright testing setup out of the box. This release brings comprehensive end-to-end testing capabilities and AI-powered visual testing through Playwright MCP.
Both TanStack Start and Next.js starter kits now come with a fully configured Playwright testing setup out of the box. This includes:
Getting started is as simple as running npm run test:e2e to launch your test
suite. The setup handles authentication flows, page navigation, form
interactions, and visual regression testing right out of the gate.
Playwright MCP (Model Context Protocol) is a game-changer for AI-assisted development. It literally gives AI assistants like Claude the ability to "see" and interact with your web application in real-time.
How it works:
Playwright MCP provides AI assistants with the ability to:
Why this matters for UI development:
Traditional AI assistance is limited to code - it can read your JSX/TSX but can't see what actually renders. With Playwright MCP, AI can:
This dramatically improves the quality and accuracy of UI-related tasks. Instead of guessing whether a component looks right, AI can now verify it visually, just like a human QA engineer would.
To use Playwright MCP with Claude Code, install the Playwright MCP server:
claude mcp add playwright npx @playwright/mcp@latestNow your AI assistant can visually verify every UI change it makes, ensuring pixel-perfect implementations and catching issues before they reach production.