Skip to content

End-to-end MP4/GIF export test in CI - #21

Merged
TanbirRamim merged 1 commit into
mainfrom
test/export-e2e
Oct 23, 2026
Merged

TanbirRamim merged 1 commit into
mainfrom
test/export-e2e

Conversation

@TanbirRamim

Copy link
Copy Markdown
Owner

Adds npm run test:e2e, which renders the demo fixture to MP4 and GIF in both 16:9 and 9:16 through real Chrome and ffmpeg, then checks the files are non-empty and ffprobe reports the right size (1920x1080 / 1080x1920, since export uses a 1.5x device scale).

It lives in test/e2e with its own vitest config, so plain npm test stays fast and needs no ffmpeg. New CI job export-e2e installs ffmpeg and uses the runner's Chrome. Takes about 45s locally.

Closes #10

Copilot AI balanced review requested due to automatic review settings October 23, 2026 14:01

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@TanbirRamim
TanbirRamim merged commit fb0deeb into main Oct 23, 2026
6 checks passed
@TanbirRamim
TanbirRamim deleted the test/export-e2e branch October 23, 2026 14:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

End-to-end MP4/GIF export test in CI with ffmpeg

2 participants