test: добавить регрессионные тесты platform rendering и Discord MVP interactions #90

Closed
Toutsu wants to merge 0 commits from test/issue-33-regression-tests into main
Owner

Summary

Реализация issue #33 — регрессионные тесты для platform-neutral rendering, Telegram parity, Discord renderer и Discord MVP interaction flow.

Changes

  • SessionBatchViewBuilderTests — 3 новых edge-case теста (empty sessions, confirmed status, null MaxPlayers)
  • TelegramSessionBatchRendererTests — 5 новых regression тестов (empty sessions, HTML encoding в title, confirmed status buttons, no join link, HTML encoding в join link)
  • DiscordSessionBatchRendererTests — 4 новых regression теста (confirmed blue color, empty player description, embed URL, inline field values)
  • DiscordLandingPromisesSmokeTests — полный smoke-тест для Discord MVP: join/leave/waitlist promotion, reschedule voting, direct messages, dashboard sync через FakeDiscordMessenger (без реального Discord API)
  • Версия bumped → 2.7.2

Test plan

  • dotnet test — 253 passed, 0 failed
  • dotnet build — 0 warnings, 0 errors
  • Версия синхронизирована в 4 файлах

Workflow

  • CI passes
  • Code review approved
  • Deployed
  • Release published

Closes #33

## Summary Реализация issue #33 — регрессионные тесты для platform-neutral rendering, Telegram parity, Discord renderer и Discord MVP interaction flow. ## Changes - **SessionBatchViewBuilderTests** — 3 новых edge-case теста (empty sessions, confirmed status, null MaxPlayers) - **TelegramSessionBatchRendererTests** — 5 новых regression тестов (empty sessions, HTML encoding в title, confirmed status buttons, no join link, HTML encoding в join link) - **DiscordSessionBatchRendererTests** — 4 новых regression теста (confirmed blue color, empty player description, embed URL, inline field values) - **DiscordLandingPromisesSmokeTests** — полный smoke-тест для Discord MVP: join/leave/waitlist promotion, reschedule voting, direct messages, dashboard sync через FakeDiscordMessenger (без реального Discord API) - Версия bumped → **2.7.2** ## Test plan - [x] `dotnet test` — 253 passed, 0 failed - [x] `dotnet build` — 0 warnings, 0 errors - [x] Версия синхронизирована в 4 файлах ## Workflow - [x] CI passes - [ ] Code review approved - [ ] Deployed - [ ] Release published Closes #33
Toutsu added 5 commits 2026-05-21 15:37:44 +03:00
- Empty sessions
- Confirmed status
- Null MaxPlayers

Issue: #33
- Empty sessions
- HTML encoding in title
- Confirmed status buttons
- No join link handling

Issue: #33
- Confirmed status blue color
- Empty player description
- Embed URL from join link
- Inline field values for capacity/waitlist/status

Issue: #33
Mirror TelegramLandingPromisesSmokeTests for Discord MVP:
- Join/leave/waitlist promotion via capacity rules
- Reschedule voting flow
- Direct message notifications on reschedule
- Dashboard batch update

Issue: #33
chore(release): bump version to 2.7.2
PR Checks / test-and-build (pull_request) Successful in 8m3s
1853a7a9c7
Issue: #33
Toutsu closed this pull request 2026-05-25 10:36:43 +03:00
Some checks are pending
PR Checks / test-and-build (pull_request) Successful in 8m3s

Pull request closed

Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Toutsu/GmRelayBot#90