Evilweed / protractor-beautiful-reporter

An npm module which provides html reports of your Protractor tests with screenshots
MIT License
169 stars 40 forks source link

Rerun of failed test cases will override the count of Failed count #106

Open samuelvinay91 opened 6 years ago

samuelvinay91 commented 6 years ago

I am using Protractor-retry to re-run failed tests.For every re-run the count of failed tests decreases as per the spec-reporter .But when we check the beautiful reporter it adds up the failed count for every run.

I have used Consolidate and ConsolidateAll as true to eliminate it .but no result.

Can you please help me out on this scenario

miller45 commented 6 years ago

The reporter is currently "designed" like that: when you use preserveDirectory: true the rerunning of tests with add new results to the results from the previous one. The Consolidate and ConsolidateAll flags are not recognised by protractor-beautiful-reporter i think they might work in JUnitXMLReporter but that is a totally different repository. Currently there is no easy way to consolidate the results...there is a ugly way i would avoid to describe until i refactored the reporter app...