Sha256: 3838b5aa5a6080291a139314ca6946f6ed6a5349ae6fac169a9596a1aef3b9f8
Contents?: true
Size: 1.17 KB
Versions: 18
Compression:
Stored size: 1.17 KB
Contents
<% if contextualization.single_visual_result? %> <%= contextualization.single_visual_result_html %> <% else %> <strong><%= t :test_results %>:</strong> <ul class="results-list"> <% contextualization.test_results.each_with_index do |test_result, index| %> <li> <% if test_result[:status].failed? %> <span class="text-danger"> <%= status_icon(test_result[:status]) %> <strong class="example-title"><%= test_result[:title] %></strong> <% unless contextualization.visible_success_output? %> <a data-toggle="collapse" href="#example-result-<%= index %>" class="example-see-more">Ver detalles</a> <% end %> </span> <% else %> <span class="text-success example-title"> <%= status_icon(test_result[:status]) %> <%= test_result[:title] %> </span> <% end %> <div class="example-result collapse <%= 'in' if contextualization.visible_success_output? %>" id="example-result-<%= index %>"> <%= contextualization.output_content_type.to_html test_result[:result] %> </div> </li> <% end %> </ul> <% end %>
Version data entries
18 entries across 18 versions & 1 rubygems