
This patch adds basic summary information to the tempest dataset summary on the home page. Additionally, it allows users to select between all available datasets, if more than one is specified in the configuration file. Failing tests are displayed directly on the front page, and a future patch will allow direct navigation to details of failing tests. Co-Authored-By: Austin Clark <austin.clark@hpe.com> Change-Id: Ic08a4dd86b36f513acf8e50c1fb7d7a102876e1c
56 lines
1.7 KiB
HTML
56 lines
1.7 KiB
HTML
<div class="panel panel-default">
|
|
<div class="panel-heading">
|
|
<h3 class="panel-title">
|
|
{{dataset.name}}
|
|
<span class="text-muted" style="font-size: 65%">
|
|
{{stats.start | date:'d MMM, yyyy'}}
|
|
</span>
|
|
</h3>
|
|
</div>
|
|
<div class="panel-body">
|
|
<div class="col-xs-3 text-center">
|
|
<span class="huge">{{timeDiff | secondsToTime}}</span>
|
|
<br>
|
|
runtime
|
|
</div>
|
|
<div class="col-xs-3 text-center">
|
|
<span class="huge">{{stats.count}}</span>
|
|
<br>
|
|
tests run
|
|
</div>
|
|
<div class="col-xs-3 text-center">
|
|
<span class="huge text-danger">{{stats.failures.length}}</span>
|
|
<br>
|
|
failed
|
|
</div>
|
|
<div class="col-xs-3 text-center">
|
|
<span class="huge text-primary">{{stats.skips.length}}</span>
|
|
<br>
|
|
skipped
|
|
</div>
|
|
</div>
|
|
<div class="panel-footer clearfix">
|
|
<div class="btn-group pull-right">
|
|
<a type="button"
|
|
class="btn btn-default"
|
|
ui-sref="timeline({datasetId: dataset.id})">Details</a>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="panel panel-danger" ng-if="stats.failures.length > 0">
|
|
<div class="panel-heading">
|
|
<h3 class="panel-title">Failures</h3>
|
|
</div>
|
|
<div class="list-group">
|
|
<a class="list-group-item" ng-repeat="fail in stats.failures">
|
|
<h4 class="list-group-item-heading">
|
|
{{fail.name | split:'.' | slice:-2 | join:'.'}}
|
|
</h4>
|
|
<p class="list-group-item-text">
|
|
{{fail.details}}
|
|
</p>
|
|
</a>
|
|
</ul>
|
|
</div>
|