Skip to main content
Ask AI

Session Workspace

The Session Workspace is the detailed inspection environment for a test session. TestRelic provides two workspace variants depending on the type of test: a Browser Workspace for UI tests and an API Workspace for API/backend tests.

Browser Session Workspace

The SessionWorkspace component is the full-screen, resizable workspace for browser test sessions. It is designed to replicate a DevTools-like experience directly in the platform.

Video and screenshots

The main panel of the Browser Workspace displays:

  • Video — Playwright video recording of the test session (when video is enabled in the reporter config). The video player synchronizes with the step timeline.
  • Screenshots — Individual screenshots captured at step boundaries, shown as a filmstrip when video is not available.
  • Mobile device frame — When the test ran in a mobile viewport, the video is rendered inside a phone frame overlay.

Workspace tabs

The workspace tabs are configurable via feature flags. The standard set includes:

TabContents
StepsStep-by-step execution timeline with action names, durations, and thumbnails
ConsoleBrowser console output with error classification
NetworkAll HTTP requests — method, URL, status, size, duration
PerformanceNavigation timing, resource load breakdown, performance metrics
Detected IssuesAuto-classified problems found during the session
JiraLink or quick-create Jira tickets from this session
GitHub ActionsCI pipeline timeline for the build that triggered this session
Analytics EventsAmplitude events captured during the session
Feature flag and integration gating

Some tabs (Jira, GitHub Actions, Analytics Events) are only shown when the corresponding integration is connected. The platform checks integration status and displays an IntegrationGateBanner prompt if the integration is not yet set up.

Dock position

The DevTools-style panel can be docked to different positions (bottom, right side) to optimize your debugging layout — similar to browser DevTools.

Observability data

For sessions not running in the sandbox environment, the workspace fetches rich observability data:

  • Logs — Correlated log lines from Grafana Loki for the test session time window.
  • Timeline — Full event timeline including network activity, navigation events, and console output.
  • Device metrics — Memory and CPU usage during the test.
  • Traces — Distributed traces correlated to the session (when available).

API Test Workspace

The ApiTestWorkspace component is a specialized workspace for API and backend test sessions. It presents data in a Loki-inspired report format.

API workspace sections

Identifies API endpoints that exist in your codebase but were not exercised during the test run. Helps surface coverage blind spots in your API test suite.

Playwright result mapping

The API Workspace maps Playwright test results to API calls, correlating test step failures with specific API requests. This helps identify exactly which upstream call caused a test to fail.

GitHub Actions panel

If the GitHub Actions integration is connected, the API Workspace also shows the CI pipeline context — the workflow run that triggered this test session, with status and a link to the build.

SDK-style sessions

Sessions uploaded directly via the SDK (not through a cloud testing platform) are accessed at /dashboard/tests/:id. The workspace automatically adapts using sdkRunAdapters to normalize the SDK run format into the same Session Workspace UI.