cucumber-html-reporter
cucumber-html-reporter copied to clipboard
Hierarchy theme has a bug when displaying attached text
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.
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
Could you provide the sample .json
file to reproduce the issue?
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!
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.