summaryrefslogtreecommitdiffstats
path: root/test-scheduler/ui/src/components/testcase.vue
diff options
context:
space:
mode:
authorYang (Gabriel) Yu <Gabriel.yuyang@huawei.com>2018-10-22 09:00:47 +0000
committerGerrit Code Review <gerrit@opnfv.org>2018-10-22 09:00:47 +0000
commitb183d7d424e312c585de2b40be0716a8996562f4 (patch)
treeeff3227eaa8684b490eab171f84ddc80a450d9b5 /test-scheduler/ui/src/components/testcase.vue
parent4a94df533b4ae139af5e222e29375c19c7ace015 (diff)
parent399ec2f328f56c1f81c454ecedfb6b99eaf93c42 (diff)
Merge "fix testsuite name bugs and improve some ui details"
Diffstat (limited to 'test-scheduler/ui/src/components/testcase.vue')
-rw-r--r--test-scheduler/ui/src/components/testcase.vue12
1 files changed, 8 insertions, 4 deletions
diff --git a/test-scheduler/ui/src/components/testcase.vue b/test-scheduler/ui/src/components/testcase.vue
index 9c8ef85e..875089ef 100644
--- a/test-scheduler/ui/src/components/testcase.vue
+++ b/test-scheduler/ui/src/components/testcase.vue
@@ -1,7 +1,7 @@
<template>
<div class="wrapper wrapper-content animated fadeIn">
<div class="row" style="margin-bottom: 20px;">
- <div class="col-md-8">
+ <div class="col-md-12">
<ol class="breadcrumb" style="padding-left: 20px; font-size: 17px;">
<li>
<router-link to="/" >root</router-link>
@@ -13,7 +13,7 @@
</div>
</div>
<div id="page-content" style="" class="row">
- <div class="col-lg-8">
+ <div class="col-lg-12">
<div class="ibox">
<div class="ibox-title">
<h5 style="font-size:26px;margin-top: -3px;">Test Case</h5>
@@ -55,7 +55,7 @@
</div>
</div>
<hr />
- <div class="row">
+ <div class="row" v-show="runYet">
<div class="col-lg-12">
<div class="ibox">
<div class="ibox-title">
@@ -126,7 +126,8 @@ export default {
selected: [],
curRunningId: 0,
runTestcases: [],
- wfComplete: false
+ wfComplete: false,
+ runYet: false
}
},
created: function() {
@@ -243,6 +244,9 @@ export default {
runMultiTestcase: function() {
var self = this;
var msgTitle = "RUN -- TESTCASES";
+ if(!self.runYet) {
+ self.runYet = true;
+ }
self.runTestcases = [];
if(self.selected.length == 0) {
showMessage("warning", msgTitle, "please select one!");