E2E Tests
End-to-end tests for the media stack.Overview
These tests verify the complete media acquisition pipeline:- API Integration (
test_api.sh) - Verifies all services are healthy and properly configured - Movie Pipeline (
test_pipeline.sh) - Tests movie flow: Jellyseerr → Radarr → qBittorrent → Jellyfin - TV Series Pipeline (
test_pipeline_tv.sh) - Tests TV flow: Jellyseerr → Sonarr → qBittorrent → Jellyfin
Usage
What the Pipeline Tests Do
- Pre-flight checks - Verifies all services are healthy
- Cleanup existing - Removes any leftover test data
- Request content - Submits request via Jellyseerr API
- *Verify arr - Confirms Radarr/Sonarr received the request
- Verify download - Confirms qBittorrent started downloading
- Wait for completion - Monitors download progress (timeout: 30min)
- Verify import - Confirms Radarr/Sonarr imported the file(s)
- Trigger scan - Initiates Jellyfin library scan
- Verify playable - Confirms content appears in Jellyfin
- Cleanup - Removes all test data (always runs, even on failure)
Troubleshooting
Prowlarr has no indexers configured
Add indexers in Prowlarr UI, then sync to Radarr.Radarr/Sonarr has no root folder configured
Settings → Media Management → Root Folders → Add/media/movies or /media/shows.
Radarr/Sonarr has no download client configured
Settings → Download Clients → Add qBittorrent: Hostgluetun, Port 8085.