Skip to content
This repository has been archived by the owner on Dec 18, 2019. It is now read-only.

report generated using wdio-cucumber-framework have scenarios reported as test suites rather than test cases #104

Open
spujar opened this issue Mar 5, 2019 · 0 comments

Comments

@spujar
Copy link

spujar commented Mar 5, 2019

We are running cucumber tests using wdio-cucumber-framework and generate junit repot using wdio-junit reporter.
Below are the reporter settings
junit: { outputDir: './test/reports/junit', outputFileFormat: function(opts) { // optional returnresults-${opts.cid}.${opts.capabilities}.xml; },

After a scenario is executed, it gets reported are test suite and given when then steps get reported as testcases. Scenario should be reported as test case and given when then info can be part of the test case. Problem with scenario having as test suites is that in jenkins trends, aging is report on failure of steps rather that failure of scenarios

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant