Skip to main content
Real-time streaming delivers Playwright test results to the TestDino dashboard as each test completes. A WebSocket connection pushes live progress, pass/fail counts, and per-worker activity directly to the Test Runs page.
Real-time streaming is in Beta. Core functionality is stable, but some features are still in development.

Quick Reference

TopicLink
Enable streamingToggle on the Test Runs page
SetupInstall reporter and stream tests
WebSocket statusConnection indicator and states
Multi-tab supportBroadcastChannel coordination
LimitationsBeta caveats
FAQCommon questions

Enable Real-Time Streaming

A toggle switch on the Test Runs page header controls the streaming mode. Flip it to enable live updates.
SettingDetail
Default stateOFF
PersistenceSaved to localStorage, persists across sessions
Beta badgeDisplays next to the toggle when enabled
When streaming is enabled:
  • The Active Test Runs section renders at the top of the Test Runs page, showing runs currently executing.
  • A WebSocket status badge indicates connection state.
  • The onboarding setup guide switches to the Real-time tab.

Setup

Install the @testdino/playwright reporter and run tests with streaming enabled.
1

Install the reporter

npm install @testdino/playwright
2

Run tests with streaming

npx tdpw test -t "your-api-token"
The tdpw test command wraps npx playwright test, opens a WebSocket connection, and streams each result to TestDino. All Playwright CLI options pass through.
3

Monitor on the dashboard

Open the Test Runs page. Active runs appear at the top with a live progress bar, pass/fail/skip counts, and per-worker detail.

WebSocket Status

When real-time streaming is enabled, a status badge appears on the Test Runs page indicating the connection state.
StatusMeaning
ConnectingEstablishing WebSocket connection to TestDino
OnlineConnected and receiving live updates
OfflineConnection lost; updates are paused
DisconnectedWebSocket closed; toggle streaming off and on to reconnect
The badge is hidden when streaming is disabled.

Active Test Runs

With streaming enabled, the Test Runs page displays a collapsible Active Test Runs section. Each active run shows a progress bar, live result counts, commit, branch, and CI source. Active test runs section showing live progress and result counts For sharded runs, the run is labeled SHARDED with tabs for each shard. Select a tab to view its workers and currently executing tests.

Multi-Tab Support

Only one browser tab opens a WebSocket connection to TestDino. This tab acts as the primary tab. Additional tabs receive updates through the browser’s BroadcastChannel API.
  • If you close the primary tab, another open tab promotes itself and opens a new WebSocket.
  • All tabs display the same live data regardless of which tab holds the connection.

Known Limitations

LimitationDetail
Beta statusSome edge cases in connection recovery are still being refined
Browser supportRequires a browser that supports WebSocket and BroadcastChannel (all modern browsers)
Single projectEach WebSocket connection is scoped to one project at a time
LocalStorageStreaming preference is per-browser, not synced across devices

FAQ

No. Toggling streaming off does not affect historical data. All previously recorded runs, test cases, and analytics remain intact. The toggle only changes how new results are delivered to the dashboard.
The reporter continues sending results. When the dashboard reconnects, it catches up to the current state. No test data is lost on the server side.
CLI reference, test runs, and CI integration.