fetch_ml/deployments/tui-test-config.toml
Jeremie Fraeys b4672a6c25
feat: add TUI SSH usability testing infrastructure
Add comprehensive testing for TUI usability over SSH in production-like environment:

Infrastructure:
- Caddy reverse proxy config for WebSocket and API routing
- Docker Compose with SSH test server container
- TUI test configuration for smoke testing

Test Harness:
- SSH server Go test fixture with container management
- TUI driver with PTY support for automated input/output testing
- 8 E2E tests covering SSH connectivity, TERM propagation,
  API/WebSocket connectivity, and TUI configuration

Scripts:
- SSH key generation for test environment
- Manual testing script with interactive TUI verification

The setup allows automated verification that the BubbleTea TUI works
correctly over SSH with proper terminal handling, alt-screen buffer,
and mouse support through Caddy reverse proxy.
2026-02-18 17:48:02 -05:00

14 lines
369 B
TOML

# TUI Configuration for SSH Testing
# Connects to API through Caddy reverse proxy in smoke test environment
worker_host = "caddy"
worker_port = 80
worker_user = "test"
worker_base = "/data/experiments"
redis_addr = "redis:6379"
# API key for testing (matches dev.yaml config)
api_key = "test-api-key-for-e2e"
[auth]
enabled = false # Disable auth for smoke testing