getgauge / html-report

HTML report generation plugin for Gauge

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Sorting order of Scenarios not retained in Spec display

DvagNic opened this issue · comments

Expected behavior

Sorting order of Scenarios should be mirrored from the Spec file.

Actual behavior

Sorting order seems random. It does not sort all failed scenarios at the top, the scenarios seem to not follow any sorting order in the html display.

Steps to reproduce

  1. Run tests, access html report
  2. Click on a spec and look at scenarios

Gauge version

Gauge version: 1.4.0
Plugins
-------
html-report (4.1.0)
python (0.3.17)
screenshot (0.1.0)
xml-report (0.2.3)

Screenshot

screenshot

Can you share the corresponding spec file and reports from different runs please? The order of steps should not change, since they have precedence, so the report should show the steps in the order they were executed!

I confused scenarios and steps. I mean the order of scenarios in the html output. I will change the initial text and the title accordingly. Sorry for that.

Ah, that makes sense. Thanks for clarifying.