feat(cv-import): add source-grounded review and explicit corrections
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
import { defineConfig } from '@playwright/test';
|
||||
import ordinary from './playwright.config';
|
||||
|
||||
if (!process.env.CV_IMPORT_SIDECAR_URL) throw new Error('Set CV_IMPORT_SIDECAR_URL to the isolated local Docling service.');
|
||||
const servers = Array.isArray(ordinary.webServer) ? ordinary.webServer : [ordinary.webServer!];
|
||||
export default defineConfig({
|
||||
...ordinary,
|
||||
testDir: './import-tests',
|
||||
testMatch: 'cv-import-docling.spec.ts',
|
||||
timeout: 180_000,
|
||||
retries: 0,
|
||||
webServer: [{ ...servers[0], env: { ...servers[0].env, Workers__AiOperationsEnabled: 'true', Ai__BaseUrl: process.env.CV_IMPORT_SIDECAR_URL, Ai__ProbeEnabled: 'false', Email__Enabled: 'false' } }, ...servers.slice(1)],
|
||||
});
|
||||
Reference in New Issue
Block a user