On tests with pythonlogging, the DEBUG headers can be quite long and make finding useful information difficult. This patch adds a small, four-button filter to the test-details page that allows a user to select which levels of logging to be displayed (INFO, WARNING, ERROR, DEBUG). This patch will likely serve as the base for additional search functionality for test details (e.g. queries). Change-Id: Ia4286861268de0e43313d3b8d7f966e94697a495
59 lines
1.9 KiB
HTML
59 lines
1.9 KiB
HTML
<header class="bs-header">
|
|
<div class="container">
|
|
<h1 class="page-header">Test Details</h1>
|
|
</div>
|
|
</header>
|
|
|
|
<div class="container">
|
|
<div class="row">
|
|
<div class="col-lg-12">
|
|
<div class="panel panel-default">
|
|
<div class="panel-heading">
|
|
<h3 class="panel-title">
|
|
{{testName | split:'.' | slice:-2 | join:'.'}}
|
|
<test-details-search class="pull-right"></test-details-search>
|
|
</h3>
|
|
</div>
|
|
|
|
<div class="panel-body">
|
|
<uib-tabset class="nav-tabs">
|
|
<uib-tab heading="Summary">
|
|
<table class="table table-bordered table-hover table-striped">
|
|
<tr>
|
|
<td>Name</td>
|
|
<td>{{item.name | split:'.' | pickRight:1}}</td>
|
|
<tr>
|
|
<td>Full Name</td>
|
|
<td>{{item.name}}</td>
|
|
</tr>
|
|
<tr>
|
|
<td>Status</td>
|
|
<td>{{item.status}}</td>
|
|
</tr>
|
|
<tr>
|
|
<td>Tags</td>
|
|
<td>{{item.tags | join:', '}}</td>
|
|
</tr>
|
|
<tr>
|
|
<td>Duration</td>
|
|
<td>{{item.duration | number:1}} seconds</td>
|
|
</tr>
|
|
</table>
|
|
</uib-tab>
|
|
<uib-tab ng-repeat="(entry,log) in itemDetails" heading="{{entry}}">
|
|
<pre style="height: 400px; overflow-y: scroll;">{{log}}</pre>
|
|
</uib-tab>
|
|
</uib-tabset>
|
|
</div>
|
|
|
|
<div class="panel-footer clearfix">
|
|
<a class="btn btn-default pull-right"
|
|
ui-sref="timeline({datasetId: dataset.id, test: item.name})">
|
|
Timeline
|
|
</a>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|