-
Notifications
You must be signed in to change notification settings - Fork 1k
Closed
Description
Overview
Create integration tests with real Matrix homeserver (Synapse) running in Docker.
Tasks
- Create
test/matrix-integration.test.js - Set up Synapse in Docker for testing
- Test full message flow (send/receive)
- Test media upload/download
- Test multi-room scenarios
- Test multi-identity support
- Add test fixtures (users, rooms)
- Create test automation script
Test Scenarios
- Create test room, send message, receive reply
- Upload image, verify receipt
- Multiple Matrix accounts in single bridge
- Room federation (if applicable)
- Error recovery (network interruption)
- Long-running stability
Acceptance Criteria
- Integration tests pass against Synapse
- Tests are reproducible
- Tests clean up resources after completion
- Can run locally and in CI
- Document setup instructions
Estimated Time
1 day
Dependencies
- Issue [Matrix] Phase 2: Bridge Integration #781 (Bridge Integration)
- Issue [Matrix] Phase 3: Unit Tests #785 (Unit Tests)
Technical Details
- Use Docker Compose for Synapse setup
- Create test Matrix accounts programmatically
- Use test fixtures for consistent state
- Add to CI pipeline as optional job
Docker Setup
# docker-compose.test.yml
services:
synapse:
image: matrixdotorg/synapse
ports:
- "8008:8008"
environment:
- SYNAPSE_SERVER_NAME=localhost
- SYNAPSE_REPORT_STATS=noSee full plan: https://github.com/users/alacy-centrl/projects/2
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels