<% if test[:reason] || test[:snippet] || !test[:screenshots].empty? %>
<% if test[:reason] %>
<%= test[:reason] %>
<% end %>
<% if test[:snippet] %>
<%= test[:snippet] %><%= test[:file] %>
<% end %>
<% if !test[:screenshots].empty? %>
<% test[:screenshots].each_with_index do |screenshot, idx| %>
<% end %>
<% end %>