HTML report troubleshooting

A report that works on your machine and breaks everywhere else is not a random event. It is one of about six causes, and the browser console names which one before you start guessing.

Start here: read the console

Console says Cause Page
404 on .css / .js Only the entry file travelled Lost CSS
CORS error against file:///… Opaque local origin Allure blank · Playwright blank
Refused to … violates … Content Security Policy The host's policy Mixed content vs CSP
…requested an insecure resource… Mixed content Mixed content
Nothing — the page just downloads Wrong Content-Type S3 downloads instead of rendering
Nothing — the chart box is empty The library never loaded Plotly missing

Blank pages and missing content

Hosting and delivery

Getting it in front of people

The pattern underneath all of them

Three things make a report work on your machine, and all three are lost in transit:

  1. The whole output directory is present. Copy the entry file out and every relative reference breaks.
  2. The origin is permissive. Your local server gave it a real http:// origin; file:// on the recipient's laptop does not.
  3. Your network reaches the CDN. Theirs might not, and the viewer they open it in may refuse the request regardless.

Publishing the output directory to a URL restores all three at once: the entry HTML becomes the report body, assets upload alongside it with their relative references rewritten to the uploaded copies, and the whole thing is served over HTTPS from an address that does not depend on anyone's machine being awake.

Interactivity survives — scripts run in a sandboxed iframe (allow-scripts, no allow-same-origin) — and readers can select the failing assertion or the suspicious number and comment on it, rather than screenshotting it into chat (comment on HTML).

Limits: entry HTML 5 MB; assets 25 MB per file, 250 MB and 500 files per report.

Try it

Comma is free — unlimited reports, unlimited commenters, unlimited revision history.

Publish a report that opens for everyone →

Related