sharadJay / nightwatch-allure-adapter

Allure reporter adapter for nightwatch framework
3 stars 11 forks source link

Running suite of test cases shows report only for 1 suite. #3

Closed drptbl closed 9 years ago

drptbl commented 9 years ago

Hello!

First of all - thanks for this great plugin. I was looking for something like this from ages.

I'm having an issue with it:

I can see that .json file generated by yours plugin contains proper data, but after it's being parsed into a report it's not looking good. Please look at screenshots - on the images you can see only 1 test case suite (when there should be 3) and you can also see that .json file contains them (572 tests passed for example, when report shows only 6.

What is the problem? Can you help?

Thank you!

screen shot 2015-11-05 at 15 37 13 screen shot 2015-11-05 at 15 37 27

I can provide more informations if needed.

Those tests are run and parsed with Jenkins (Allure Jenkins Plugin). 1.4.19 - allure command line version.

drptbl commented 9 years ago

What versions do you use if this works for you?

drptbl commented 9 years ago

If you need *.json file generated report, I can provide it but privately via e-mail or smth.

sharadJay commented 9 years ago

Are you running multiple suites at one time ? Can you also share what command you are using to run tests ?

drptbl commented 9 years ago

Yeah, I'm running multiple suites at one time. (my tests folder contains suites, some of them has prod tag, each of them has some count of tests which are running) I'm using this command to run my tests: nightwatch -c ./Nightwatch.json --env phantom --suiteRetries 2 --tag=prod

Thanks for fast reply! I would love to fix this, so I can provide all informations you need :+1:. I bet this is working properly for you, so it's some kind of problem on my side. Any suggestions? Thanks!

P.S I've sent you *.json report which is generated by your plugin (and then it's parsed by allure report itself I guess?) into your's gmail box which I found on npmjs website. Maybe it helps somehow.

sharadJay commented 9 years ago

@drptbl There was a bug that I resolved in 1.1.9, can you please update and see if it solves your problem ?

drptbl commented 9 years ago

Awesome, gonna check this today!

drptbl commented 9 years ago

This issue has been fixed, thank you! :)

Probably found another bug, but I have to investigate this. I'm going to create new ticket.

Thanks! Jacob.