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
Hello, I have a use-case where I wanted to include Scenario tags in the report, so that I could import them to XRay (Jira cloud for test case management) after the automation tests run.
For instance, lets look at below. The report doesn't log the tag (@xraydemooneupdated) I had defined in the JSON file. I want to map each Scenario in the JSON report with its unique tags, which will be useful when I import the report into Jira/Xray system.
Please advise.
Feature: Sample Xray Feature
@xraydemooneupdated
Scenario: Xray Demo Scenario One Updated
Given a test xray step
It should add the tags into the Scenario section of the report as shown below. The tags JSON object was empty, I manually updated with the unique scenario tag specified in the feature file.
```
"elements": [
{
"id": "ScenarioSample Xray Feature;Scenario: Xray Demo Scenario One Updated",
"keyword": "Scenario",
"line": 0,
"name": "Xray Demo Scenario One Updated",
"skipped": false,
"sourceLine": "undefined",
"status": "passed",
"steps": [
{
"hidden": false,
"keyword": ">",
"match": {
"location": "/Users/vsridhar/IdeaProjects/ptf-testcafe/tests/BillingSolution/bddTests/features/xray/XrayDemo.feature:1:0"
},
"name": "Scenario: Xray Demo Scenario One Updated",
"result": {
"duration": 257,
"status": "passed"
},
"tags": [],
"text": [
"<a href="#">Scenario: Xray Demo Scenario One Updated"
]
}
], "tags": [{
"name": "@xraydemooneupdated"
}],
"type": "scenario",
"uri": ""
}
The text was updated successfully, but these errors were encountered:
Hi @vsridhargovx , thank you for your feedback. It would be great if you could provide a sample repo that demonstrates your issue, it will help me to fix that the right way. Thanks!
Hello, I have a use-case where I wanted to include Scenario tags in the report, so that I could import them to XRay (Jira cloud for test case management) after the automation tests run.
For instance, lets look at below. The report doesn't log the tag (@xraydemooneupdated) I had defined in the JSON file. I want to map each Scenario in the JSON report with its unique tags, which will be useful when I import the report into Jira/Xray system.
Please advise.
It should add the tags into the Scenario section of the report as shown below. The tags JSON object was empty, I manually updated with the unique scenario tag specified in the feature file.
```
"elements": [
{
"id": "ScenarioSample Xray Feature;Scenario: Xray Demo Scenario One Updated",
"keyword": "Scenario",
"line": 0,
"name": "Xray Demo Scenario One Updated",
"skipped": false,
"sourceLine": "undefined",
"status": "passed",
"steps": [
{
"hidden": false,
"keyword": ">",
"match": {
"location": "/Users/vsridhar/IdeaProjects/ptf-testcafe/tests/BillingSolution/bddTests/features/xray/XrayDemo.feature:1:0"
},
"name": "Scenario: Xray Demo Scenario One Updated",
"result": {
"duration": 257,
"status": "passed"
},
"tags": [],
"text": [
"<a href="#">Scenario: Xray Demo Scenario One Updated"
]
}
],
"tags": [{
"name": "@xraydemooneupdated"
}],
"type": "scenario",
"uri": ""
}
The text was updated successfully, but these errors were encountered: