Skip to content
This repository has been archived by the owner on Oct 15, 2022. It is now read-only.

Support for image attaching needed #137

Open
EugeneShutQa opened this issue Sep 16, 2020 · 4 comments
Open

Support for image attaching needed #137

EugeneShutQa opened this issue Sep 16, 2020 · 4 comments

Comments

@EugeneShutQa
Copy link

Could you please add ability to add screenshot(s) to testruns please?

@allankp
Copy link
Owner

allankp commented Sep 17, 2020

@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
Copy link
Author

@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)

@adrientv
Copy link

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.

@wswiatkowski
Copy link

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?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants