From 399ec2f328f56c1f81c454ecedfb6b99eaf93c42 Mon Sep 17 00:00:00 2001 From: LeoQi Date: Thu, 20 Sep 2018 09:38:01 +0800 Subject: 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 --- test-scheduler/ui/src/router/index.js | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'test-scheduler/ui/src/router') 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: "
please visit grafana page.
" -} + const Report = { template: "
" } @@ -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 } ] -- cgit 1.2.3-korg