← POC Lab
Pre-PROD Smoke Tests
Automated checks against staging/prod gateway. Run before every deploy.
Mic tests require microphone permission. Grant access when prompted, or skip mic tests to run non-mic checks only.
Gateway
Tenant
Run All Tests
Run (skip mic)
Gateway Health
WAIT
GET /health returns 200 + JSON {status:"ok"}
WAIT
GET /unknown returns 404
WAIT
GET /openapi.json returns valid spec (title: "Live Gateway")
WebSocket Lifecycle
WAIT
WebSocket upgrade to /session/{tenant} succeeds (101)
WAIT
Receives setupComplete within 10s
WAIT
Ping → pong roundtrip; geminiReady=true after setup
WAIT
Client disconnect closes cleanly (code 1000)
Text Input → Gemini Response
WAIT
Send {type:"text"} → receives serverContent with audio chunk
WAIT
serverContent includes modelTurn text transcript
WAIT
Audio chunk is valid PCM (base64 decodes, mimeType audio/pcm;rate=24000)
WAIT
First audio chunk latency <5000ms (warning if >3000ms)
Video Frame Input
WAIT
Connect with ?video=true → setupComplete (VIDEO modality enabled)
WAIT
Send {type:"video_frame", data, mimeType} → no error, session stays open
Mic Audio Pipeline
WAIT
getUserMedia grants microphone access
WAIT
PCM16 binary frames flow to gateway without error (3s capture)
WAIT
end_of_turn triggers Gemini response (audio or text)