Skip to content

Commit

Permalink
Merge pull request #97 from dawn-minion/duration_with_custom_metadata
Browse files Browse the repository at this point in the history
Show duration in features overview when customMetadata is true
  • Loading branch information
wswebcreation authored Sep 1, 2019
2 parents c758dba + 0475e3e commit 18ae032
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions templates/components/features-overview-custom-metadata.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@
<% _.each(suite.features[0].metadata, function(metadatum, metadatumIndex) { %>
<th><%= metadatum.name %></th>
<%});%>
<% if (suite.displayDuration) { %>
<th>Duration</th>
<% } %>
<th>Total</th>
<th>Passed</th>
<th>Failed</th>
Expand Down Expand Up @@ -91,6 +94,9 @@
<%=metadatum.value%>
</td>
<% }); %>
<% if (suite.displayDuration) { %>
<td><%= feature.time %></td>
<% } %>
<td><%= feature.scenarios.total %></td>
<td><%= feature.scenarios.passed %></td>
<td><%= feature.scenarios.failed %></td>
Expand Down

0 comments on commit 18ae032

Please sign in to comment.