17 lines
600 B
Cheetah
17 lines
600 B
Cheetah
<div class="test <%- r.status %> <%- (hasFailedTests && /passed/.test(r.status) || /ignored/.test(r.status)) ? 'hide' : '' %>">
|
|
<h2><span class="label" style="background: <%- r.color %>"><%- r.status %></span> <%- r.id %></h2>
|
|
<pre><%- r.expression %></pre>
|
|
|
|
<% if (r.error) { %><p style="color: red"><strong>Error:</strong> <%- r.error.message %></p><% } %>
|
|
|
|
<% if (r.difference) { %>
|
|
<strong>Difference:</strong>
|
|
<pre><%- r.difference %></pre>
|
|
<% } %>
|
|
|
|
<% if (r.serialized) { %>
|
|
<strong>Serialized:</strong>
|
|
<pre><%- r.serialized %></pre>
|
|
<% } %>
|
|
</div>
|