Sha256: 8f5f376b68361c2c9d699f5ea837454b4ec45c29cfae0604cc24a620e59e2d15

Contents?: true

Size: 1.18 KB

Versions: 42

Compression:

Stored size: 1.18 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"><%= t :view_details %></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

42 entries across 42 versions & 1 rubygems

Version Path
mumuki-laboratory-7.4.2 app/views/layouts/_test_results.html.erb
mumuki-laboratory-7.4.1 app/views/layouts/_test_results.html.erb
mumuki-laboratory-7.4.0 app/views/layouts/_test_results.html.erb
mumuki-laboratory-7.3.1 app/views/layouts/_test_results.html.erb
mumuki-laboratory-7.3.0 app/views/layouts/_test_results.html.erb
mumuki-laboratory-7.2.0 app/views/layouts/_test_results.html.erb
mumuki-laboratory-7.1.0 app/views/layouts/_test_results.html.erb
mumuki-laboratory-7.0.12 app/views/layouts/_test_results.html.erb
mumuki-laboratory-7.0.11 app/views/layouts/_test_results.html.erb
mumuki-laboratory-7.0.10 app/views/layouts/_test_results.html.erb
mumuki-laboratory-7.0.9 app/views/layouts/_test_results.html.erb
mumuki-laboratory-7.0.8 app/views/layouts/_test_results.html.erb
mumuki-laboratory-7.0.7 app/views/layouts/_test_results.html.erb
mumuki-laboratory-7.0.6 app/views/layouts/_test_results.html.erb
mumuki-laboratory-7.0.5 app/views/layouts/_test_results.html.erb
mumuki-laboratory-7.0.4 app/views/layouts/_test_results.html.erb
mumuki-laboratory-7.0.3 app/views/layouts/_test_results.html.erb
mumuki-laboratory-7.0.2 app/views/layouts/_test_results.html.erb
mumuki-laboratory-6.7.7 app/views/layouts/_test_results.html.erb
mumuki-laboratory-6.7.6 app/views/layouts/_test_results.html.erb