From 1d0e0af79f412c8bd104cbce9abe3fe1d74568d2 Mon Sep 17 00:00:00 2001 From: Tim Buckley <timothy.jas.buckley@hpe.com> Date: Tue, 24 Nov 2015 14:02:30 -0700 Subject: [PATCH] Directly link to timeline details for failed tests. This adds links to pre-select failed tests cases on the timeline for each test failue listed on the front page. Change-Id: I3cd96f10bddf5aaff9797273c02f9fb53528e836 --- app/views/directives/tempest-summary.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/views/directives/tempest-summary.html b/app/views/directives/tempest-summary.html index bc1d4fa..ae58dc4 100644 --- a/app/views/directives/tempest-summary.html +++ b/app/views/directives/tempest-summary.html @@ -43,7 +43,9 @@ <h3 class="panel-title">Failures</h3> </div> <div class="list-group"> - <a class="list-group-item" ng-repeat="fail in stats.failures"> + <a class="list-group-item" + ng-repeat="fail in stats.failures" + ui-sref="timeline({datasetId: dataset.id, test: fail.name})"> <h4 class="list-group-item-heading"> {{fail.name | split:'.' | slice:-2 | join:'.'}} </h4>