-
Notifications
You must be signed in to change notification settings - Fork 403
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update Qualifiers in reports when cucumber json output has information on OS and devices #1154
Comments
@damianszczepanik |
Share the official specification about this |
Hi @damianszczepanik Thank you for your reply. I am very new to cucumber-reporting project. I am not aware of the information on specification of feature parser. Please if you could let me know the resources that I can refer to. According to my knowledge, the third-party plugins can include the tags to the cucumber json outputs. In my project, I use browserstack sdk to run the tests and the information on platform is present in the cucumber json output. Moreover, I also created a fork https://github.com/jit3pam/cucumber-reporting to check my changes in order to complete an assigned work in my project. If required I can also prepare a pull request based on our discussion. |
I checked the W3C Specifications at https://www.w3.org/TR/webdriver/#processing-capabilities
The Java implementation https://github.com/SeleniumHQ/selenium/blob/b6b209602d544b769a0f4635022cf55a7b8f81b4/java/src/org/openqa/selenium/Capabilities.java#L35 |
This is webdriver specification and this implementation is based on cucumber bdd concept. Not all attributes - I believe - defined in driver goes to the cucumber result/output |
I found a related issue cucumber/cucumber-jvm#1343. cucumber-jvm-parallel-pluginPoints to Note
Now The feature map implementation |
I thought of a different approach. Is it possible to annotate variable for example:
and then we could change the setQualifier method in the Feature class.
I can submit a pull request with tests and an updated sample json file. |
We can talk about implementation after finding specification |
Guys, do we have any information on specification on cucumber bdd? where we can search for the same? |
After completion of tests, it is required of me to add OS and devices information to cucumber reports.
I have a cucumber json output that already has a
platform
tag for every test feature.At present, the qualifiers can be added to the reports to display this information.
For example:
However, Feature parser doesn't have any json property for processing this information.
Expected outcome:
platform
property. For example,The text was updated successfully, but these errors were encountered: