Files
workinf_Blender_Wasm/web/playwright.clip.config.ts
mes123456 012e857edf
Some checks failed
M6 deployable RC / quick (push) Has been cancelled
M6 deployable RC / chromium (push) Has been cancelled
M6 deployable RC / release (push) Has been cancelled
feat(web): complete the Clip subsystem and pass the headed acceptance suite
- Reader: real blend block bases win over synthesized interior array
  addresses, fixing post-detect track truncation (19 exported vs 60 in Main).
- Track color reads DNA float[3] with an alpha pad; bpy writes 3 components
  because RNA PROP_COLOR_GAMMA has no alpha.
- Clamp track weight and weight_stab to the RNA 0..1 factor range.
- Read the scene frame range from scenes[0].renderSettings.
- Mask status phases poll with a stall-tolerant loop instead of expect.poll,
  which fails the whole run when one DOM query stalls during engine persist.
- Continuation and module coverage record the 24/24 PASS receipt
  (tests/golden/CLIP-HEADED-20261204-052513); acceptance stays NOT_CLAIMED.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-12-04 05:35:52 +08:00

15 lines
1.1 KiB
TypeScript

import base from './playwright.config';
/* Clip suite: MovieClip engine read, frame decode, missing source and
* save/reopen, demonstrated on the upstream tripod-motion tracking fixture.
* The specs instantiate WebEngineClient directly, so they run against the Vite
* dev server (same convention as tracking-mask-production) rather than a built
* bundle where `/src/...` module URLs do not exist. */
const port = Number(process.env.WEB_TEST_PORT ?? 5314);
const jsonOutput = process.env.PLAYWRIGHT_JSON_OUTPUT_FILE;
export default { ...base, testMatch: ['clip-*-production.spec.ts'], timeout: 420_000,
...(jsonOutput ? { reporter: [...(Array.isArray(base.reporter) ? base.reporter : []), ['json', { outputFile: jsonOutput }] as const] } : {}),
use: { ...base.use, baseURL: `http://127.0.0.1:${port}`, viewport: { width: 1440, height: 900 },
headless: process.env.WEB_TEST_HEADLESS === '1' ? true : base.use?.headless },
webServer: { command: `npm run dev -- --host 127.0.0.1 --port ${port} --strictPort`, url: `http://127.0.0.1:${port}`, reuseExistingServer: false, timeout: 30_000 },
};