Skip to content

feat: add e2e test suite for dev server mode#58

Merged
uhyo merged 2 commits intomasterfrom
claude/add-dev-server-e2e-tests-ej1Uf
Feb 17, 2026
Merged

feat: add e2e test suite for dev server mode#58
uhyo merged 2 commits intomasterfrom
claude/add-dev-server-e2e-tests-ej1Uf

Conversation

@uhyo
Copy link
Owner

@uhyo uhyo commented Feb 17, 2026

Add Playwright e2e tests that run against the Vite dev server, complementing
the existing build mode e2e tests. Tests cover HTML response verification,
client-side hydration, client-init timing, and multi-entry routing.

Key details:

  • New playwright-dev.config.ts using vite dev instead of build+serve
  • Uses /@vite/client as health check URL since the dev server requires
    Accept: text/html header for HTML responses
  • Request-based tests pass Accept: text/html header explicitly
  • Adds test:e2e:dev scripts to package.json and turbo.json

https://claude.ai/code/session_013P4Zt9f91pDBF8CTLtCErf

Add Playwright e2e tests that run against the Vite dev server, complementing
the existing build mode e2e tests. Tests cover HTML response verification,
client-side hydration, client-init timing, and multi-entry routing.

Key details:
- New playwright-dev.config.ts using `vite dev` instead of build+serve
- Uses /@vite/client as health check URL since the dev server requires
  Accept: text/html header for HTML responses
- Request-based tests pass Accept: text/html header explicitly
- Adds test:e2e:dev scripts to package.json and turbo.json

https://claude.ai/code/session_013P4Zt9f91pDBF8CTLtCErf
Run both build-mode and dev-server-mode e2e tests in CI. Each suite
uploads its own Playwright report artifact for debugging failures.

https://claude.ai/code/session_013P4Zt9f91pDBF8CTLtCErf
@uhyo uhyo merged commit a72c088 into master Feb 17, 2026
1 check passed
@uhyo uhyo deleted the claude/add-dev-server-e2e-tests-ej1Uf branch February 17, 2026 15:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants