cucumber-html-reporter icon indicating copy to clipboard operation
cucumber-html-reporter copied to clipboard

Hierarchy theme has a bug when displaying attached text

Open npopov-d3 opened this issue 6 years ago • 3 comments

I have two Features that execute the same step, which happens to attach("some text"); What happens is in hierarchy layout only, show info + link only works for the first feature, but the second one links to the first, with the result that clicking on the second will collapse the first, or re-open the first. screen shot 2018-07-24 at 21 43 01 It appears that the bug is in the dom, where the second info link class ID is "info0_01", but it should be "info0_02". Editing it in the dom fixes the problem.

This does not happen in bootstrap theme.

npopov-d3 avatar Jul 25 '18 04:07 npopov-d3

@npopov-d3

Could you provide the sample .json file to reproduce the issue?

gkushang avatar Aug 23 '18 16:08 gkushang

Sure thing, attaching html and json. For this html, expand both features and try clicking on the Show Info+ links. They both should display different data. Thank you very much!

Archive.zip

npopov-d3 avatar Sep 24 '18 19:09 npopov-d3

Hello @gkushang , any updates on this issue. I am using v5.3.0, and the issue it seems is still existing. I have attached a sample json file for your reference.

Archive.zip

mrclagman avatar Jan 19 '21 09:01 mrclagman