Back <% if customize %> <%= render "feature_header" %> <% else %> <%= render "page_header", :feature => feature %> <% end %> Feature started: <%= feature.start_time.strftime("%a %B %-d, %Y at %H:%M:%S") %>
Duration: <%= feature.formatted_duration(feature.duration) %> <% if feature.description? %>
<%= feature.description %>
<% end %>

Summary

Executed Passed Failed Skipped Undefined Pending Average
Duration
Scenarios <%= feature.scenarios.length %> <%= feature.scenario_summary_for :passed %> <%= feature.scenario_summary_for :failed %> <%= feature.scenario_summary_for :skipped %> <%= feature.scenario_summary_for :undefined %> <%= feature.scenario_summary_for :pending %> <%= feature.scenario_average_duration %>
Steps <%= feature.steps.length %> <%= feature.step_summary_for :passed %> <%= feature.step_summary_for :failed %> <%= feature.step_summary_for :skipped %> <%= feature.step_summary_for :undefined %> <%= feature.step_summary_for :pending %> <%= feature.step_average_duration %>
<% if feature.has_background? %>

Background: <%= feature.background_title.name %>

<% end %> <% feature.background_steps.each do |step| %> <% end %>
<%= raw(feature.image_tag_for(step.status, feature.file)) %> <%= render "step", :step => step %>

Scenarios:


<% feature.scenarios.each do |scenario| %> <% scenario.steps.each do |step| %> <% end %>
<%= scenario.name %>
<%= raw(feature.image_tag_for(step.status, feature.file)) %> <%= "#{step.keyword} #{step.name}" %> <% if step.has_table? %>
<% step.table.first.each do |column| %> <% end %> <% step.table.delete_at 0 %> <% step.table.each do |row| %> <% row.each do |column| %> <% end %> <% end %>
<%= column %>
<%= column %>
<% end %> <% if step.has_multiline_arg? %>
<%= step.multiline_arg %>
<% end %> <% if step.failed_with_error? %>
<%= "#{step.error.message} (#{step.error.class})" %>
<%= step.error.backtrace.join("\n") %>
<% end %>
<% if scenario.has_image? %> <%= "#{scenario.image_label}" %>
<% end %>

<% end %>