SingleFile report not working correctly with categories.json and allure-python #2544
Unanswered
Vall0n
asked this question in
Questions & Support
Replies: 1 comment
-
Ah oke. I think I misunderstood. The test case did not match the test state "unknown" from Maybe this can be switched to a feature request, to map certain test case issues to custom colors and categories. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Describe the Bug
Hey,
first of all thanks for this great framework.
I faced a minor issue when using the categories.json to change the test status of certain tests and using a custom name.
The issue is that with the following
categories.json
:See attached file "allure-singlefilereport-categories-issue" for the singleline report.
There is the default name added instead of
BLUB
. And the test category shall be colored inunknown
.I attached a mini sample project (allure-python-categories-issue.zip) to reproduce.
Still not sure if I am doing something wrong or misunderstood the usage of the categories.json.
So, any help is greatly appreciated. '
Thanks in advance.
Best regards,
Vall0n
allure-python-categories-issue.zip
Steps to Reproduce
pytest --html=TestReport.html --alluredir=allure-result
allure generate --clean --single-file allure-result
Expected Behaviour
The following categories are displayed in the singlefile report:
Screenshots or Additional Context
No response
What Language are you using?
Java
What Framework/Allure Integration you are using?
allure / allure-pytest
What version of Allure Integration you are using?
2.13.2
What version of Allure Report you are using?
2.27.0
Code of Conduct
Beta Was this translation helpful? Give feedback.
All reactions