Closed zaneta500200 closed 2 years ago
@zaneta500200 You can wrap your test function with @pytest.mark.tc_id('test_case')
for example, and you will see tc_id:test_case
among test tags to the test at the RP UI.
@iivanou thanks for quick response - I figured out the tag but it would be much more convenient to have it linked in the same way as bugs (issue egd-1234 on the print screen
)
@pytest.mark.tc_id(" [{tc_id}]({url})".format(tc_id, url))
@iivanou hi, I'm working with @zaneta500200 on this problem.
Injecting such markup [name](url)
works though for description but not for tags. (
We've tried to implement your suggestion with few modification, but everything we've got was plain url in tag on test (if solution was working)
We were trying to insert a html link as well, but so far all characters were escaped correctly from backed side on reportportal. and listed as a non-formatted text.
Our goal is to get such view:
this was modified on html page of the existing report.
Any other suggestion/tip that we can follow?
We can implement passing test_case_id
to the common client. The information about ID will be displayed the following way:
Are u ok with that? The is no way to do it like for issues.
Implemented in: https://github.com/reportportal/agent-python-pytest/tree/5.1
Hi, I'd like to link test case id (from Jira) to test executions in reportportal but I can't find any info how to do it. I tested
rp_issue_id_marks
but this is more suitable for bugs than test cases. Thanks in advance!