Files
hapi/web/playwright.live.config.ts
T
AnanovoandGitHub 009e6d7799 feat(codex): allow historical forks while a turn is running (#2185)
* feat(codex): allow historical forks while a turn is running

* fix(web): fork user-only completed turns during generation
2026-10-28 12:15:11 +08:00

27 lines
869 B
TypeScript

import { defineConfig, devices } from '@playwright/test'
const chromePath = process.env.PLAYWRIGHT_CHROME_PATH
/** Live hub session tests — no Vite; hits HAPI_URL with HAPI_LIVE=1. */
export default defineConfig({
testDir: './e2e',
testMatch: ['mermaid-lightbox-session.spec.ts', 'latex-bracket-math-session.spec.ts', 'codex-fork-while-running.spec.ts'],
timeout: 120_000,
expect: { timeout: 20_000 },
fullyParallel: false,
workers: 1,
reporter: [['list']],
use: {
...devices['Desktop Chrome'],
viewport: { width: 1440, height: 1100 },
...(chromePath
? {
launchOptions: {
executablePath: chromePath,
args: ['--no-sandbox', '--disable-setuid-sandbox', '--disable-dev-shm-usage'],
},
}
: {}),
},
})