Amend Overview Layout (pytest) #2884
Unanswered
davethepunkyone
asked this question in
Questions & Support
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi all,
I'm doing a bit of experimenting with Allure reporting, with my test framework being pytest-based. I've been scouring the documentation but I can't really find anything around modifying the layout of the Overview page. I can see references in the CLI --help to profiles (which make me wonder if that's where I specify it) but the documentation doesn't seem to cover anything about it.
I'm wanting to do the following:
(generated using
allure generate --single-file allure-results --clean --name test_report
)I'm using the
generate --single-file
command because passing a single file for the results is what would be best for my workflow, but it also means modifying the HTML is very difficult to remove / amend these sections because it's base64 encoded. I've tried specifying aname
when generating the report too, but it still leaves the date in so that is clearly controlled elsewhere.Is there a nice way for me to modify / remove these sections using the existing logic Allure provides and I'm just missing it in the documentation? I'm looking to pipeline my implementation so if there is a way to do it via the python plugin, using the
allure generate
command or dropping an additional file intoallure-results
dir once the tests have finished that specify the layout would certainly be preferable!Beta Was this translation helpful? Give feedback.
All reactions