@playwright-opentelemetry/trace-viewer
v0.3.4
Published
Playwright OpenTelemetry Trace Viewer - A web application for viewing Playwright Opentelemetry test traces
Downloads
356
Maintainers
Readme
Playwright OpenTelemetry Trace Viewer
A SolidJS single-page application for viewing Playwright test execution traces in OpenTelemetry format.
Overview
This trace viewer provides a rich, interactive visualization of Playwright test runs that have been exported to OpenTelemetry format. It displays test steps, timing information, screenshots captured during execution, and additional trace data like HTTP requests.
Run the trace viewer
To boot the trace viewer on localhost:9294:
npx @playwright-opentelemetry/trace-viewerDeploy Your Own
Cloudflare
You can deploy a copy of the trace viewer to Cloudflare:
git clone https://github.com/endformdev/playwright-opentelemetry.git
cd playwright-opentelemetry/trace-viewer
pnpm install
pnpm build
pnpm deployCustom Base Path (Optional)
If you want to build with absolute paths for a specific deployment location:
TRACE_VIEWER_BASE=/trace-viewer/ pnpm buildLocal Development
pnpm install
pnpm dev