Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sorting order of Scenarios not retained in Spec display #280

Open
DvagNic opened this issue Aug 17, 2021 · 3 comments
Open

Sorting order of Scenarios not retained in Spec display #280

DvagNic opened this issue Aug 17, 2021 · 3 comments

Comments

@DvagNic
Copy link

DvagNic commented Aug 17, 2021

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

@sriv
Copy link
Member

sriv commented Aug 19, 2021

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!

@DvagNic
Copy link
Author

DvagNic commented Aug 19, 2021

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.

@DvagNic DvagNic changed the title Sorting order of Steps not retained in Spec display Sorting order of Scenarios not retained in Spec display Aug 19, 2021
@sriv
Copy link
Member

sriv commented Aug 20, 2021

Ah, that makes sense. Thanks for clarifying.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants