summaryrefslogtreecommitdiffstats
path: root/test-scheduler/ui/src/router
diff options
context:
space:
mode:
authorLeoQi <QibinZheng2014@tongji.edu.cn>2018-09-20 09:38:01 +0800
committerLeoQi <QibinZheng2014@tongji.edu.cn>2018-09-20 13:50:35 +0800
commit399ec2f328f56c1f81c454ecedfb6b99eaf93c42 (patch)
tree6e7062c5cf9a387d7e98c4cee628d756db6f7e3f /test-scheduler/ui/src/router
parent27d82af1145673330eddbe80eb39c47d93322cbe (diff)
fix testsuite name bugs and improve some ui details
JIRA: BOTTLENECK-247 fix the bug where the testsuite name contains Chinese characters. add license header automatically when a testcase created. ui improvements: workflow panel only turns up when a testcase executes. add grafana pages in the webpage 'Test Result'. add the highlight effect on the navigation item. Change-Id: If0ddf82fd4630128f2c4dd7fdde30f037e5bfba7 Signed-off-by: LeoQi <QibinZheng2014@tongji.edu.cn>
Diffstat (limited to 'test-scheduler/ui/src/router')
-rw-r--r--test-scheduler/ui/src/router/index.js10
1 files changed, 6 insertions, 4 deletions
diff --git a/test-scheduler/ui/src/router/index.js b/test-scheduler/ui/src/router/index.js
index 8cc3da13..7617eddf 100644
--- a/test-scheduler/ui/src/router/index.js
+++ b/test-scheduler/ui/src/router/index.js
@@ -3,11 +3,10 @@ import Router from 'vue-router'
import testsuite from '@/components/testsuite'
import testcase from '@/components/testcase'
import testcase_content from '@/components/testcase_content'
+import test_result from '@/components/test_result'
import environment from '@/components/environment'
Vue.use(Router)
-const Result = {
- template: "<div>please visit <a target='blank' href='http://lab205.jios.org:30002/dashboard/db/cluster?orgId=1'>grafana page.</a></div>"
-}
+
const Report = {
template: "<div></div>"
}
@@ -30,14 +29,17 @@ export default new Router({
},
{
path: '/result',
- component: Result
+ name: 'result',
+ component: test_result
},
{
path: '/report',
+ name: 'report',
component: Report
},
{
path: '/environment',
+ name: 'environment',
component: environment
}
]