pytest-testrail
pytest-testrail copied to clipboard
Support for image attaching needed
Could you please add ability to add screenshot(s) to testruns please?
@EugeneShutQa Sounds like an interesting idea, can you please expand on how you think this should work. Possibly what the implementation would look like.
@EugeneShutQa Sounds like an interesting idea, can you please expand on how you think this should work. Possibly what the implementation would look like.
I think this should be called like a function in test ( something like: pytestrail.case.attach_screenshot(path_to_screenshot) ). Also you could add some another features with cases (like custom text result)
Hi there,
Maybe it would be interesting to add some hooks to tune the posted results.
I'm thinking of pytest_testrail_comment
to tune the comment, and maybe pytest_testrail_screenshots
to get the wanted screenshots ?
I'm not sure about that, but a third hook may help to fill custom fields as well.
Hi there,
It would be great if there would be a possibility to automatically capture screenshots of failing testcases for selenium. Any progress on that issue?