aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorxudan <xudan16@huawei.com>2018-09-12 23:26:26 -0400
committerxudan <xudan16@huawei.com>2018-09-12 23:30:28 -0400
commitf4aa44a83d111fb7e96dc82848a7f0085720c110 (patch)
tree2082e8380c96dc25b2e32aaac18f35deac9150de
parent11524e93a98ba3e72140f1ed4e6474d449874c59 (diff)
Update webportal code to 2018.09
The official name of the next release is going to be 2018.09. JIRA: DOVETAIL-740 Change-Id: I7da48d27c66d4b25b277339ada3fafa85159b172 Signed-off-by: xudan <xudan16@huawei.com>
-rw-r--r--3rd_party/static/testapi-ui/components/home/home.html2
-rw-r--r--3rd_party/static/testapi-ui/components/results-report/resultsReportController.js8
2 files changed, 5 insertions, 5 deletions
diff --git a/3rd_party/static/testapi-ui/components/home/home.html b/3rd_party/static/testapi-ui/components/home/home.html
index e921713..d12a530 100644
--- a/3rd_party/static/testapi-ui/components/home/home.html
+++ b/3rd_party/static/testapi-ui/components/home/home.html
@@ -44,7 +44,7 @@
<div class="panel-heading">
<div class="panel-title">
<a data-toggle="collapse" data-parent="#accordion" href="#collapseTwo">
- Release 2018.08
+ Release 2018.09
</a>
</div>
</div>
diff --git a/3rd_party/static/testapi-ui/components/results-report/resultsReportController.js b/3rd_party/static/testapi-ui/components/results-report/resultsReportController.js
index 3c5d0c0..8cec126 100644
--- a/3rd_party/static/testapi-ui/components/results-report/resultsReportController.js
+++ b/3rd_party/static/testapi-ui/components/results-report/resultsReportController.js
@@ -189,11 +189,11 @@
var sub_case_list = get_sub_case_list_2018_01(result_resp.data);
extend(sub_case_list);
}
- else if(ctrl.version == '2018.08') {
- // OVP 2018.08 and later results store all results in a single json structure:
+ else if(ctrl.version == '2018.09') {
+ // OVP 2018.09 and later results store all results in a single json structure:
// Looping over all test cases of this individual test run
angular.forEach(result_resp.data.testcases_list, function(testcase, index){
- var sub_case_list = get_sub_case_list_2018_08(testcase)
+ var sub_case_list = get_sub_case_list_2018_09(testcase)
extend(sub_case_list)
});
}
@@ -253,7 +253,7 @@
return case_list;
}
- function get_sub_case_list_2018_08(result) {
+ function get_sub_case_list_2018_09(result) {
var case_list = [];
if(result.sub_testcase.length == 0 && result.result == "PASS") {
case_list.push(result.name);