and add the below after checking the executionResult however needs to be validated as to what it looks like and whether it displays in a way that is clear as to the reason the step is skipped since skips can be done for multiple reasons.
if res.GetExecutionResult().GetSkipScenario() {
return skip
}
Expected behavior
As noted in https://github.com/getgauge/gauge-python/pull/397, when programmatically skipping scenarios ( https://github.com/getgauge/gauge/pull/2502 ) from a step or a hook, ideally it should be clear from the report which step generated the
skip
instruction.Actual behavior
Currently the step shows as passed.
Steps to reproduce
SkipScenarioException
It might be sufficient to change the code below
https://github.com/getgauge/html-report/blob/19ee5a6ba70c454958bcdffa9b62c9675d20dabf/generator/transform.go#L619-L630
and add the below after checking the
executionResult
however needs to be validated as to what it looks like and whether it displays in a way that is clear as to the reason the step is skipped since skips can be done for multiple reasons.Gauge version