Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to automately forbidden add in the html #803

Open
18Blues18 opened this issue Mar 22, 2024 · 1 comment
Open

how to automately forbidden add in the html #803

18Blues18 opened this issue Mar 22, 2024 · 1 comment
Labels
needs more info Issue specific label. More information is needed to assist the issue creator.

Comments

@18Blues18
Copy link

18Blues18 commented Mar 22, 2024

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.

@BeyondEvil BeyondEvil added the needs more info Issue specific label. More information is needed to assist the issue creator. label Mar 22, 2024
@BeyondEvil
Copy link
Contributor

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs more info Issue specific label. More information is needed to assist the issue creator.
Projects
None yet
Development

No branches or pull requests

2 participants