pytest-dev / pytest-dev/pytest-html

Chrome prevents navigation to data URLs in self-contained report

Open
#170 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

help wanted
Dominant language
Python
Stars
779
Forks
260
PR merge metrics
No merged PRs in 30d

Description

Hi,
I changed the mechanism of the report to be a bit different (modified tables, added new items, changed it's behavior and so).
when I'm using a regular pipe, the test log is exported to assets folder and I can fetch it.
but when I'm using --self-contained-html, the log isn't being included in the html page.

Can you please assist?

Thanks,
Mor

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the report with --self-contained-html in Chrome and compare it with a regular pipe, focusing on whether the test log is included in the generated HTML. Done means the self-contained report includes a usable test log without relying on the assets folder.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
testing-qa
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.