You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Originally posted by katyaaronov January 24, 2024
The below code from cucumber/godog/fmt_cucumber.go overwrites the line property values of steps in cucumber reports (for Scenario Outlines only, regular Scenarios reports look good).
As a result, the step line property corresponds to the line in the Examples section rather than to the actual location of step within the feature file.
Due to the above, external tools that process the reports and use the line property for sorting the steps, display the steps out of order.
Other officially supported cucumber implementations (java, js, python, etc.) are generating reports correctly for Scenario Outline - line property corresponds to the actual location of step within the file rather than the line in Examples section.
Discussed in #603
Originally posted by katyaaronov January 24, 2024
The below code from cucumber/godog/fmt_cucumber.go overwrites the line property values of steps in cucumber reports (for Scenario Outlines only, regular Scenarios reports look good).
As a result, the step line property corresponds to the line in the Examples section rather than to the actual location of step within the feature file.
Due to the above, external tools that process the reports and use the line property for sorting the steps, display the steps out of order.
Other officially supported cucumber implementations (java, js, python, etc.) are generating reports correctly for Scenario Outline - line property corresponds to the actual location of step within the file rather than the line in Examples section.
Please advice.
Regards, Katya.
The text was updated successfully, but these errors were encountered: