pytest-dev / pytest-dev/pytest-html
how to automately forbidden add in the html
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 779
- Forks
- 260
- PR merge metrics
- No merged PRs in 30d
Description
I found my report can be displayed in the original path but not in the other path.
I checked the html file and delete all "window.history.pushState({}, null, unescape(url.href))", then it can be displayed.
I wanna know how to set the config of pytest-html, so it can display my reports when I wanna transfer the file to others.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the report-transfer problem described in the issue and inspect the generated HTML containing window.history.pushState({}, null, unescape(url.href)). Start by checking pytest-html's configuration options and how the report behaves when moved to another path. Done means a transferred report displays correctly without manually deleting that statement.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- testing
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100