Files
heygen-com__hyperframes/.gitattributes
Miguel Ángel 8f9ee9f55d test(studio): add preview/render parity E2E gate
Playwright test that drives the real Studio UI — selects elements via the
Layers panel, modifies X position, text color, and opacity — then screenshots
the preview at t=0/1/2s, triggers a real render, extracts matching frames with
ffmpeg, and fails if the average luma diff exceeds 0.78% of 255 (YAVG > 2.0).

Also adds the GitHub Actions workflow that runs on any change touching studio,
core, player, producer, engine, or cli, with diff artifact upload on failure.

Supporting changes:
- StudioApiAdapter.onProjectFileWrite optional callback so file writes from the
  files API can notify the server to invalidate its cached ETag signature
- CLI adapter implements onProjectFileWrite by nulling cachedProjectSignature,
  ensuring the preview ETag advances after every UI edit
- Playwright config, fixture project (index.html + generated assets), and
  asset generator script (e2e/setup/gen-assets.ts via ffmpeg)
2026-05-13 13:45:05 -07:00

18 lines
855 B
Plaintext

# Golden baseline videos for regression tests
packages/producer/tests/*/output/output.mp4 filter=lfs diff=lfs merge=lfs -text
# Source video clips for regression test fixtures (HDR samples, etc.)
packages/producer/tests/*/src/*.mp4 filter=lfs diff=lfs merge=lfs -text
# Studio E2E parity fixture videos
packages/studio/e2e/fixtures/**/*.mp4 filter=lfs diff=lfs merge=lfs -text
# Source image assets for regression test fixtures (HDR PNGs, screenshot fixtures, etc.)
packages/producer/tests/*/src/*.png filter=lfs diff=lfs merge=lfs -text
# GitHub Linguist overrides — HTML files are compositions (user content / templates),
# not the framework source. Hide them from the repo language stats so TypeScript,
# which is the actual implementation, surfaces as the dominant language.
registry/**/*.html linguist-vendored
*.html linguist-detectable=false