@@ -289,12 +289,13 @@ Uses Vitest + Testing Library + MSW.
289289
290290``` bash
291291pnpm exec playwright install # One-time browser install
292- pnpm dev # Start dev stack
293- pnpm run test:e2e # Run tests (headless)
294- pnpm run test:e2e:ui # Playwright UI mode
295- pnpm run test:e2e:debug # With Playwright Inspector
292+ pnpm test:e2e # Run tests (auto-starts dev server if needed)
293+ pnpm test:e2e:ui # Playwright UI mode
294+ pnpm test:e2e:debug # With Playwright Inspector
296295```
297296
297+ Tests automatically start the dev stack if it's not already running. If you prefer to start it manually first, run ` pnpm dev ` before the tests.
298+
298299### Mock Server
299300
300301The project includes a standalone MSW mock server for development:
@@ -469,29 +470,6 @@ For detailed information about the project:
469470- [ shadcn/ui Components] ( https://ui.shadcn.com )
470471- [ MCP Registry Official] ( https://github.com/modelcontextprotocol/registry )
471472
472- ## Testing
473-
474- ### Unit/Component
475-
476- ``` bash
477- pnpm test # Vitest
478- pnpm type-check # TypeScript
479- pnpm lint # Biome
480- ```
481-
482- ### E2E Tests (Playwright)
483-
484- Run the app and E2E tests locally:
485-
486- ``` bash
487- pnpm exec playwright install # one-time browser install
488- pnpm dev # start Next (3000) + OIDC (4000) + Mock API (9090)
489- pnpm run test:e2e # run Playwright tests (headless)
490- pnpm run test:e2e:ui # Playwright UI mode for debugging
491- pnpm run test:e2e:debug # with Playwright Inspector
492- ```
493-
494- CI runs the E2E suite via ` .github/workflows/bdd.yml ` .
495473
496474## Deploy on Vercel
497475
0 commit comments