-
Notifications
You must be signed in to change notification settings - Fork 119
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
reports missing <img> tags for screenshots #237
Comments
I can shed some light.
The flow is as follows:
The fix could be in either place: |
Okay, digging, it looks like this was an unintentional result of refactoring in Before that commit, the |
Cross-linking to existing |
Thanks @dhalperi. For now, I confirmed that |
Hopefully in not a too distant future we'll release a new version of pytest-html, which will solve this issue. |
Please fix it. Thanks |
Fixed by pytest-dev/pytest-html#298 |
The generated report html is missing the
<img>
tag for screenshots.Example test:
command:
The report shows a blank square instead of an image:
In the inspector, there's an empty
<a>
tag:The link in the
<a>
tag goes to the (expected) screenshot on disk.I can't tell if this is a problem with
pytest-selenium
,pytest-html
, or something else. Any help would be appreciated.The text was updated successfully, but these errors were encountered: