Skip to content

Allure Report Screenshots #985

Answered by mdmintz
sebtechni asked this question in Q&A
Sep 21, 2021 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

Hello @sebtechni, the Allure integration is a stand-alone pytest plugin integration. By default SeleniumBase saves screenshots to pytest-html reports (after all tests complete) and to the latest_logs/ folder (for failing tests). If you want screenshots to appear in Allure reports, you'll need to create a custom tearDown() method and send a request in there for the screenshots to appear in Allure reports. For instructions on creating a custom tearDown() method that doesn't override the existing SeleniumBase tearDown() method, see: https://github.com/seleniumbase/SeleniumBase/blob/master/examples/boilerplates/base_test_case.py

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@sebtechni
Comment options

Answer selected by mdmintz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants