Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,560,525
Community Members
 
Community Events
185
Community Groups

xRay Automation: Testing multiple Scenarios in a single Feature

Johan Gründer
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 16, 2023

Task:
I want to start automatic tests through Github Actions, when a developer pushes a change into the Github branch. The result of the test will automatically be uploaded to xRay as a test execution.

Issue:
When i only use one Scenario with the "tag" in form of "@" + "Jira Key" + "-Test Number"  it works perfectly fine. You can see my Gherkin Syntax in the following image including my tag "@TM-35"

xray1.JPG

When i put multiple Scenarios into my feature, the xRay upload either fails or when it doesnt fail, it will only include the first scenario and ignore the results of the other scenarios in the test.
I've read that with multiple scenarios i need a different tag syntax which would be something like "@TM-35:1" for the first scenario and "@TM-35:2" for the second scenario. This didnt work for me and i tested different tag-syntax for multiple hours now and cannot find a solution. You can see one not working example in the following image:

xray2.JPG

Can someone tell me what i need to change to get multiple scenarios uploaded? Thanks in advance

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events