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

Version Path
mumuki-laboratory-5.12.1 app/views/layouts/_test_results.html.erb
mumuki-laboratory-5.12.0 app/views/layouts/_test_results.html.erb
mumuki-laboratory-5.11.0 app/views/layouts/_test_results.html.erb
mumuki-laboratory-5.10.4 app/views/layouts/_test_results.html.erb
mumuki-laboratory-5.10.3 app/views/layouts/_test_results.html.erb
mumuki-laboratory-5.10.2 app/views/layouts/_test_results.html.erb
mumuki-laboratory-5.10.1 app/views/layouts/_test_results.html.erb
mumuki-laboratory-5.10.0 app/views/layouts/_test_results.html.erb
mumuki-laboratory-5.9.1 app/views/layouts/_test_results.html.erb
mumuki-laboratory-5.9.0 app/views/layouts/_test_results.html.erb
mumuki-laboratory-5.8.3 app/views/layouts/_test_results.html.erb
mumuki-laboratory-5.8.1 app/views/layouts/_test_results.html.erb
mumuki-laboratory-5.8.0 app/views/layouts/_test_results.html.erb
mumuki-laboratory-5.7.0 app/views/layouts/_test_results.html.erb
mumuki-laboratory-5.6.3 app/views/layouts/_test_results.html.erb
mumuki-laboratory-5.6.2 app/views/layouts/_test_results.html.erb
mumuki-laboratory-5.6.1 app/views/layouts/_test_results.html.erb
mumuki-laboratory-5.6.0 app/views/layouts/_test_results.html.erb