Explicitly show unit test results
This commit is contained in:
@@ -53,14 +53,21 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
.testrun-assess-results {
|
||||||
|
|
||||||
.testrun-assess-results {
|
|
||||||
|
|
||||||
|
.testrun-container {
|
||||||
display: flex;
|
display: flex;
|
||||||
|
margin-bottom: 10px;
|
||||||
|
|
||||||
|
.testrun-output {
|
||||||
|
overflow-x: auto;
|
||||||
|
flex-grow: 1;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.result {
|
.result {
|
||||||
margin-right: 10px;
|
margin-right: 10px;
|
||||||
|
margin-top: 20px;
|
||||||
width: 10px;
|
width: 10px;
|
||||||
height: 10px;
|
height: 10px;
|
||||||
}
|
}
|
||||||
@@ -89,13 +96,13 @@
|
|||||||
box-shadow: 0 0 11px 1px rgba(222,0,0,1);
|
box-shadow: 0 0 11px 1px rgba(222,0,0,1);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#mark-as-solved-button {
|
#mark-as-solved-button {
|
||||||
margin-top: 20px;
|
margin-top: 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#thank-you-container {
|
#thank-you-container {
|
||||||
display: none;
|
display: none;
|
||||||
margin-top: 20px;
|
margin-top: 20px;
|
||||||
padding: 5px;
|
padding: 5px;
|
||||||
@@ -106,11 +113,12 @@
|
|||||||
button {
|
button {
|
||||||
margin-right: 10px;
|
margin-right: 10px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#thank-you-note {
|
#thank-you-note {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 200px;
|
height: 200px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#commentitor {
|
#commentitor {
|
||||||
|
@@ -66,7 +66,13 @@
|
|||||||
<h5><%= t('request_for_comments.test_results') %></h5>
|
<h5><%= t('request_for_comments.test_results') %></h5>
|
||||||
<div class="testrun-assess-results">
|
<div class="testrun-assess-results">
|
||||||
<% assess_runs.each do |testrun| %>
|
<% assess_runs.each do |testrun| %>
|
||||||
<div class="result <%= testrun.passed ? 'passed' : 'failed' %>" title="<%= testrun.output %>"></div>
|
<div class="testrun-container">
|
||||||
|
<div class="result <%= testrun.passed ? 'passed' : 'failed' %>"></div>
|
||||||
|
<div class="collapsed testrun-output text">
|
||||||
|
<span class="fa fa-chevron-down collapse-button"></span>
|
||||||
|
<pre><%= testrun.output or t('request_for_comments.no_output')%></pre>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
<% end %>
|
<% end %>
|
||||||
</div>
|
</div>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
Reference in New Issue
Block a user