Group Summary
<%= @total_group_examples %> Examples
# Group Duration Pending Failed Passed Status
1 <%= @title %> <%= @summary_duration %> <%= @pending %> <%= @failed %> <%= @passed %> <%= @status %>

<% @examples.each_with_index do |example, i| %> <% end %>
# Example Duration Status
<%= i + 1 %>

<%= example.example_title %>

<% if example.has_screenrecord? %> Screen Recording <% end %> <% if example.has_screenshots? %> Screen Shots <% end %>
<% if example.has_spec? || example.has_screenshots? || example.has_screenrecord? %> <% if example.has_spec? %>
<%= example.spec %>
<% end %> <% if example.has_screenshots? %> <% end %> <% if example.has_screenrecord? %> <% end %> <% end %>
<% if example.has_exception? %>

<%= example.exception.klass %>

<%= example.exception.explanation %> <% unless example.exception.backtrace_message.empty? %>
Backtrace:
    <% example.exception.backtrace_message.each do |message| %>
  1. <%= message %>
  2. <% end %>
<% end %> <%= example.exception.highlighted_source %>
<% if example.has_failed_screenshot? %> <% end %>
<% end %>
<%= example.duration %> <%= example.status %>