pytest-html
pytest-html copied to clipboard
how to automately forbidden add in the html
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.
I need more information.
How are running pytest?
What version of pytest-html are you using?
What operating system?
Are you using the "--self-contained-html" flag?
Are you trying to share the report?