lib/parallel_tests/gherkin/runner.rb in parallel_tests-2.20.0 vs lib/parallel_tests/gherkin/runner.rb in parallel_tests-2.21.0
- old
+ new
@@ -42,10 +42,10 @@
# cucumber has 2 result lines per test run, that cannot be added
# 1 scenario (1 failed)
# 1 step (1 failed)
def summarize_results(results)
- sort_order = %w[scenario step failed undefined skipped pending passed]
+ sort_order = %w[scenario step failed flaky undefined skipped pending passed]
%w[scenario step].map do |group|
group_results = results.grep(/^\d+ #{group}/)
next if group_results.empty?