Hello all,
I am trying to import a feature file into XRAY in order to create a new Cucumber test in XRAY.
When using the Importing Cucumber Tests - REST
I get the following error-
{ "testIssues": [], "preConditionIssues": [], "message": "description: Description is required.\n"}
As of now Description field is mandatory for creating any test in our Xray project.
How do we parse the description from the feature file? What is the format for me to enter the description in the feature file so that it is successfully parsed.
I have tried to enter a a comment(example- '# this is my description') but the API still complained that description is missing.
Any help regarding this would be appreciated.
Thanks,
Suchi
Hi @Suchismita Ganiga ,
as per Xray Cloud documentation, currently, the Description field is not populated from information in the .feature file.
Therefore, you will need to make Description field optional on the Test issues.
If you face further issues or need help, please don't hesitate to reach out Xray support so the Xray team can help you out as fast as possible.
Regards
Sergio
=======================================
A personal blog on testing, Agile, and software development: https://sergiofreire.com
Follow me on Twitter: https://twitter.com/darktelecom
Thank you Sergio.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I'm facing the same issue, I have the automation for importing our .feature files to Jira using Xray. Recently I have received a request to add the description as well, are you familiar with a best practice for this? Or Xray have developed some sort of a feature for this?
Thanks
Noam
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Currently, it is still not possible to add the description during the import of feature files.
However, we have this improvement suggestion in our backlog (https://jira.xpand-it.com/browse/XRAYCLOUD-3008); please feel free to watch and vote.
Thank you.
Kind regards,
Rogério Paiva [Xray Support Team]
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.