User Guide
Local E2E Workflow
Run Playwright E2E locally across Next.js, Nuxt.js, and TanStack Start
This page describes how to run E2E locally and verify cross-framework parity.
Prerequisites
npm install -g playwright @playwright/test
npx playwright install chromiumMake sure .env and database are ready.
Workflow
- Start one app on port 7001:
pnpm dev:nextpnpm dev:nuxtpnpm dev:tanstack
- Run tests:
pnpm test:e2e
# or
npx playwright test --config=tests/e2e/playwright.config.ts- Switch framework and run again.
Useful commands
npx playwright test --config=tests/e2e/playwright.config.ts tests/e2e/specs/<name>.spec.ts
npx playwright test --config=tests/e2e/playwright.config.ts --grep "<keyword>"