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,559,701
Community Members
 
Community Events
185
Community Groups

XRAY test import removes comments

When I'm importing cucumber features using the XRAY API, all comments and empty lines in my cucumber text are being removed.

E.g. I have:

GIVEN something is not so obvious

# this next step is important!
WHEN I use a comment line

# but this does not happen
THEN I also want to import the comment line to XRAY

After importing, the cucumber content looks like so:

GIVEN something is not so obvious
WHEN I use a comment line
THEN I also want to import the comment line to XRAY

I believe that this is wrong, because when I export feature files from XRAY, they do contain comments. When importing the same files back to XRAY, I'd expect to have no change.

Is there anything I can do about it, or is this a known and accepted issue?

2 answers

1 accepted

0 votes
Answer accepted

Note that this issue has been fixed by now: https://jira.getxray.app/browse/XRAYCLOUD-4577.

Only comments at the end of a Scenario are still dropped, because they would be added to the following Scenario, if there was one. I.e. it would be ambiguous whether to add the comment to the above or the below Scenario, and the decision goes for the below Scenario.

0 votes
Rogério Paiva - Xray Xporter
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
Jan 18, 2022

Hi @janos 

Xray supports the cucumber comments, so it is best to investigate the cause to understand what's happening first.

Please get in touch with Xray Support (http://Xraysupport.getXray.app) to share your configuration so that the support team can investigate further.

Thank you.

Kind regards,
Rogerio Paiva [Xray Support Team]

Hi @Rogério Paiva - Xray Xporter , thanks for responding to this. Yes, by now I already got in touch with them through that channel, I just happened to find this forum first. The issue is still under investigation there.

Best, Janos

Rogério Paiva - Xray Xporter
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
Jan 18, 2022

Hi @janos 

You are most welcome.

Yes, this forum is usually closer, and there are a lot of good answers here.

In this case, since it will require a deeper investigation, it is best to have a support engineer dedicated to it.

Kind regards,
Rogerio Paiva [Xray Support Team]

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events