Skip to content

E2e tests#26

Open
Napuu wants to merge 4 commits into
mainfrom
e2e-tests
Open

E2e tests#26
Napuu wants to merge 4 commits into
mainfrom
e2e-tests

Conversation

@Napuu

@Napuu Napuu commented Apr 16, 2026

Copy link
Copy Markdown
Owner

No description provided.

Napuu and others added 4 commits April 16, 2026 22:42
- Add mock Telegram Bot API HTTP server that captures sendVideo/sendMessage calls
- Add e2e tests: TestPingE2E, TestVideoDownloadE2E, TestVideoDownloadInvalidURL_E2E
- Move sample.mp4 to testdata/ (Go convention for test fixtures)
- Install ffmpeg and yt-dlp in CI so E2E tests run rather than skip

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
TestReactionsAndStatsE2E covers the full flow: user posts a video via
/dl, a 👍 reaction is recorded via UpdateReactionCount, and /stats
returns a message with the poster in both the leaderboard and most-liked
sections.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
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.

1 participant