SimitTomar / wdio-cucumber-parallel-execution

A WebdriverIO capability for running Cucumber scenarios in parallel.
25 stars 10 forks source link

Compatibility with multiple-cucumber-html-reporter #13

Closed z0n closed 3 years ago

z0n commented 4 years ago

Hi, I'm currently using multiple-cucumber-html-reporter with wdio-cucumberjs-json-reporter. I want to start using wdio-cucumber-parallel-execution but keep my reporting format. This almost works but I have one issue: It seems like stitching together the JSON file like described in the README works, but it also joins all test platforms in the same feature, like this (I'm running on Firefox and Chrome):

Metadata like browser version is displayed in the results table so it's kind of easy to read. Is there a way I can also reproduce this with wdio-cucumber-parallel-execution?

SimitTomar commented 4 years ago

Hi, The way code has been written is the way that it will stitch all the Scenarios which have the same 'Feature Description' so since Scenario 1 of Platform 1 and Scenario 1 of Platform 2 both have the same 'Feature Description', the logic puts them under the same Feature. I am afraid, this can't be achieved with the existing implementation.