diff options
author | chenjiankun <chenjiankun1@huawei.com> | 2018-01-08 01:45:18 +0000 |
---|---|---|
committer | Leo wang <grakiss.wanglei@huawei.com> | 2018-01-08 06:44:43 +0000 |
commit | e895992dc11f092ee80603e9fd4a3708807e6b61 (patch) | |
tree | 2d7f69d1abd5fa38127cec8da11a78735ad982f0 /cvp/3rd_party/static | |
parent | af1debe11cf4793bae049ff3ffd63dc906bbc1c9 (diff) |
Bugfix: pass/not pass filter not work in results-report page
For now if we click the pass/not pass filter, the user can also
see the not pass/pass data in the page.
Change-Id: I8bf696e615bedbb93714d457b3eb502a4ed1d923
Signed-off-by: chenjiankun <chenjiankun1@huawei.com>
Diffstat (limited to 'cvp/3rd_party/static')
-rw-r--r-- | cvp/3rd_party/static/testapi-ui/components/results-report/partials/reportDetails.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cvp/3rd_party/static/testapi-ui/components/results-report/partials/reportDetails.html b/cvp/3rd_party/static/testapi-ui/components/results-report/partials/reportDetails.html index b552ea47..e3632890 100644 --- a/cvp/3rd_party/static/testapi-ui/components/results-report/partials/reportDetails.html +++ b/cvp/3rd_party/static/testapi-ui/components/results-report/partials/reportDetails.html @@ -39,9 +39,9 @@ Test Filters:<br /> <span ng-if="ctrl.testStatus == 'passed'" class="text-success">[{{ value.pass }}]</span> <span ng-if="ctrl.testStatus == 'not passed'" class="text-danger">[{{ value.fail }}]</span> </a> - <a uib-tooltip="view log" ng-click="ctrl.gotoResultLog(area)"><span class="glyphicon glyphicon-cog"></a> + <a uib-tooltip="view log" ng-click="ctrl.gotoResultLog(area)"><span class="glyphicon glyphicon-cog"></span></a> <ul class="list-unstyled" uib-collapse="value.folder"> - <li ng-repeat="case in value.cases"> + <li ng-repeat="case in value.cases" ng-if="(ctrl.testStatus=='passed' && ctrl.case_list.indexOf(case) > -1) || (ctrl.testStatus=='not passed' && ctrl.case_list.indexOf(case) == -1) || ctrl.testStatus=='total'"> <span ng-class="{'glyphicon glyphicon-ok text-success':ctrl.case_list.indexOf(case) > -1, 'glyphicon glyphicon-remove text-warning':ctrl.case_list.indexOf(case) == -1}" aria-hidden="true"></span> <a ng-click="ctrl.gotoDoc(case)">{{ case }}</a> </li> |