chore: checkpoint web Blender migration source, tools and docs
Accumulated uncommitted work: GHOST Web backend, WebGL/GPU web layer, web workflow engine and protocol, tooling, docs and task records. Large generated evidence, user-testing archives, build snapshots and imported test assets remain untracked. Co-Authored-By: Claude Code <noreply@anthropic.com>
This commit is contained in:
10
web/playwright.mesh-simplify.config.ts
Normal file
10
web/playwright.mesh-simplify.config.ts
Normal file
@@ -0,0 +1,10 @@
|
||||
import path from 'node:path';
|
||||
import base from './playwright.config';
|
||||
const candidate = process.env.WBV2_PRODUCTION_CANDIDATE ?? path.resolve(import.meta.dirname, '../build_web_main_desktop/lod-recovery-final-20261021/app');
|
||||
process.env.WBV2_PRODUCTION_CANDIDATE = candidate;
|
||||
process.env.WBV2_EVIDENCE_DIR ??= path.resolve(import.meta.dirname, '../tests/golden/WBV2-P1424-001/lod-recovery-20261021');
|
||||
const port = Number(process.env.WEB_TEST_PORT ?? 5286);
|
||||
export default { ...base, testMatch: ['mesh-simplify-production.spec.ts', 'mesh-lod-reader-production.spec.ts', 'object-hierarchy-production.spec.ts', 'hierarchy-simplify-combined.spec.ts'], timeout: 180_000,
|
||||
use: { ...base.use, baseURL: `http://127.0.0.1:${port}`, viewport: { width: 1440, height: 900 }, launchOptions: { ...base.use?.launchOptions, args: ['--no-sandbox', '--use-gl=angle', '--use-angle=swiftshader', '--enable-unsafe-swiftshader'] } },
|
||||
webServer: { command: `BLENDER_WEB_HTTP_PORT=${port} node ../tools/web/deployment-http-server.mjs '${candidate}'`, url: `http://127.0.0.1:${port}`, reuseExistingServer: false, timeout: 30_000 },
|
||||
};
|
||||
Reference in New Issue
Block a user