You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I am trying to use the new @issue annotation for known failures. How is this feature supposed to work? Is there any documentation? I found this unit test and tried to use it the same way but in the Report Portal launches - the test is still failing and I do not see any mention of the issue or comment. I have also tried @Issue(value = "<JiraProject>-1327", comment = "This test is linked to a known issue in JIRA", external = @ExternalIssue( value = "<JiraProject>-1327", btsUrl = "<btsUrl>", btsProject = "<btsProject>" ))
Steps to Reproduce
Steps to reproduce the behavior:
Add @issue annotation to a Test method with comment and value of the integrated Jira ticket number
Run the suite on CI (GHA)
Expected behavior
I am not entirely sure what to expect here. I guess - Test is marked as a known failure or doesn't show as a failure?
Actual behavior
Test is still failing without any link to the Jira ticket number or comment mentioned.
Type (Locator), Short Name (Abbreviation) or Long Name (Defect name) (specified by priority) of an Issue on ReportPortal for
the current project. If there is no such issue found in Project Setting the value will be used "as is" and sent as
Issue Type (Locator).
You are trying to specify value = "<JiraProject>-1327" which is issue ID in your BTS, I suppose, and this is incorrect, according to the description. This value should be put into @ExternalIssue annotation only.
Describe the bug
I am trying to use the new @issue annotation for known failures. How is this feature supposed to work? Is there any documentation? I found this unit test and tried to use it the same way but in the Report Portal launches - the test is still failing and I do not see any mention of the issue or comment. I have also tried
@Issue(value = "<JiraProject>-1327", comment = "This test is linked to a known issue in JIRA", external = @ExternalIssue( value = "<JiraProject>-1327", btsUrl = "<btsUrl>", btsProject = "<btsProject>" ))
Steps to Reproduce
Steps to reproduce the behavior:
Expected behavior
I am not entirely sure what to expect here. I guess - Test is marked as a known failure or doesn't show as a failure?
Actual behavior
Test is still failing without any link to the Jira ticket number or comment mentioned.
Dependency versions
agent-java-junit5-5.3.4.jar
client-java-5.2.20.jar
The text was updated successfully, but these errors were encountered: