withFailingStepOnly method

ScenarioRunOutcome withFailingStepOnly()

This outcome carrying only the frame the failure was captured at — the last one, per errors. The trail that led there is in the file.

Implementation

ScenarioRunOutcome withFailingStepOnly() =>
    summarised(steps.isEmpty ? const [] : [steps.last]);