Current tests cover parse→validate→workspace, but nothing renders an actual frame through Remotion in CI. A tiny smoke render catches rendering regressions (fonts, ffmpeg args, composition wiring) before they ship.
Task
- Add a
test:e2e npm script that renders a single-scene, 2-second video using a bundled local asset
- Assert the output MP4 exists, is >0 bytes, and has a video stream (ffprobe)
- Skip gracefully (exit 0 + notice) when ffmpeg/Remotion/browser deps are unavailable
- Optionally wire into
.github/workflows/ci.yml as a separate non-blocking job
Files: package.json, new tests/e2e/, .github/workflows/ci.yml
Current tests cover parse→validate→workspace, but nothing renders an actual frame through Remotion in CI. A tiny smoke render catches rendering regressions (fonts, ffmpeg args, composition wiring) before they ship.
Task
test:e2enpm script that renders a single-scene, 2-second video using a bundled local asset.github/workflows/ci.ymlas a separate non-blocking jobFiles:
package.json, newtests/e2e/,.github/workflows/ci.yml