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

xfailed tests are labeled "unexpected failures" #729

Closed
lodagro opened this issue Sep 7, 2023 · 3 comments · Fixed by #733
Closed

xfailed tests are labeled "unexpected failures" #729

lodagro opened this issue Sep 7, 2023 · 3 comments · Fixed by #733

Comments

@lodagro
Copy link

lodagro commented Sep 7, 2023

xfailed tests are labeled "unexpected failures" while these are "expected failures"

https://github.com/pytest-dev/pytest-html/blame/3e21601f49cc30dbdb0e06ed79c146d816dd5b09/src/pytest_html/report_data.py#L28

@wayne-manselle-apex
Copy link

Adding an example of the result in a report
image

@jeffwright13
Copy link
Collaborator

Nobody expects the Unexpected Failure!
Screenshot 2023-09-07 at 12 23 42 PM

@BeyondEvil
Copy link
Contributor

Oh noes! 🙈

Thanks for reporting! Will fix asap.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants