Closed ianrenauld closed 6 years ago
@ianrenauld can you provide the xml reports or anything that helps us to look into the issue. Also PRs with fixes are much appreciated 😉
~I'm seeing the same issue, but are we sure this isn't an issue with the jenkins junit plugin? my test report xml file displays all the information correctly~
I had not updated to the latest package. That's why my reporter output looked ok.
I've attached my XML report. This was a local run (not through Jenkins, although I see the same on Jenkins). I'm running both the Spec and the JUnit reporter at the same time, just in case this has an impact.
Also, my runs are with the wdio test runner, I'm using Mocha straight up (no Cucumber or anything else).
Fixed issue and will release it as v0.4.2
Thanks for the super fast service, as always, @christian-bromann !
Cheers @christian-bromann
My test name is "Shopping Page Is Displayed Test", which is correctly displayed in Spec reporter, but since today (so I assume with release v0.4.1 of wdio-junit-reporter), I get this in the JUnit report: "hopping_age_s_isplayed_est".
Both the classname and name of the < testcase > tag are affected.
If I change the title to "Shopping Page Is DisPlayed Test" then I get "hopping_age_s_is_layed_est" which is all kinds of wrong!