summaryrefslogtreecommitdiffstats
path: root/test-scheduler/ui/src/router/index.js
blob: 7617eddfd3f817924d69202e44a08663a8091397 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
import Vue from 'vue'
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 Report = {
  template: "<div></div>"
}
export default new Router({
  routes: [
    {
      path: '/',
      name: 'testsuite',
      component: testsuite
    },
    {
      path: '/testcase',
      name: 'testcase',
      component: testcase
    },
    {
      path: '/content',
      name: 'testcase_content',
      component: testcase_content
    },
    {
      path: '/result',
      name: 'result',
      component: test_result
    },
    {
      path: '/report',
      name: 'report',
      component: Report
    },
    {
      path: '/environment',
      name: 'environment',
      component: environment
    }
  ]
})