Files
wip-reference/site/playwright.dev.config.ts
Hare db4c8ba97f
Reference site / build (push) Canceled after 0s
feat: add highlighted protocol views and inline operation forms
Expose Rust Text View tokens and safely highlight signatures and JSON results. Add animated Interface and inline Run disclosures with a shared 10ms line cadence, typed argument inputs, and explicit execution.

Update documentation and browser regressions for the new controls and explicit counter-value responses.
2026-10-26 10:12:22 +09:00

20 lines
794 B
TypeScript

import { defineConfig } from '@playwright/test';
import preview from './playwright.config';
const port = process.env.SITE_TEST_PORT || '4323';
const base = process.env.SITE_BASE?.replace(/\/$/, '') || '';
const baseURL = `http://127.0.0.1:${port}${base}/`;
export default defineConfig({
...preview,
// Override rather than merge webServer: dev checks must not require dist/.
testMatch: ['wip-loading.spec.ts', 'fonts.spec.ts', 'protocol.spec.ts', 'protocol-api.spec.ts', 'playground.spec.ts', 'text-view.spec.ts', 'operation-form.spec.ts', 'json-view.spec.ts'],
use: { ...preview.use, baseURL },
webServer: {
command: `npm run dev -- --host 127.0.0.1 --port ${port} --ignore-lock`,
env: { SITE_BROWSER_TEST: '1' },
url: baseURL,
reuseExistingServer: false,
},
});