pytest-html icon indicating copy to clipboard operation
pytest-html copied to clipboard

how to automately forbidden add in the html

Open 18Blues18 opened this issue 1 year ago • 1 comments

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.

18Blues18 avatar Mar 22 '24 05:03 18Blues18

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?

BeyondEvil avatar Mar 22 '24 10:03 BeyondEvil