Adding screenshots to allureReport #1215
-
Hello @mdmintz you have been amazing first of all for helping us testers achieve results really fast. I am using pytest-bdd with seleniumbase and I am able to generate allure reports, by just running pytest --alluredir=.\allureReports\ and then doing allure serve allurereports. But it doesnt have the screenshots. Screenshots do get saved in lates_logs folder but how can I link them to allurereports |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 9 replies
-
@taruntechno If you add the arguments |
Beta Was this translation helpful? Give feedback.
@taruntechno If you add the arguments
--dashboard
and--html=report.html
, you get reports with links to screenshots or containing screenshots indashboard.html
and inreport.html
. As for getting them into Allure, that's on their API. If they have specific instructions for that, I would check there. But above is how to get the screenshots in SeleniumBase reports.