summaryrefslogtreecommitdiffstats
path: root/src/pybind/mgr/dashboard/frontend/cypress/integration/common/urls.po.ts
blob: 28635508571504e32b9da870a70040bdff8f1029 (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
import { PageHelper } from '../page-helper.po';

export class UrlsCollection extends PageHelper {
  pages = {
    // Cluster expansion
    welcome: { url: '#/expand-cluster', id: 'cd-create-cluster' },

    // Landing page
    dashboard: { url: '#/dashboard', id: 'cd-dashboard' },

    // Hosts
    hosts: { url: '#/hosts', id: 'cd-hosts' },
    'add hosts': { url: '#/hosts/(modal:add)', id: 'cd-host-form' },

    // Services
    services: { url: '#/services', id: 'cd-services' },
    'create services': { url: '#/services/(modal:create)', id: 'cd-service-form' },

    // Physical Disks
    'physical disks': { url: '#/inventory', id: 'cd-inventory' },

    // Monitors
    monitors: { url: '#/monitor', id: 'cd-monitor' },

    // OSDs
    osds: { url: '#/osd', id: 'cd-osd-list' },
    'create osds': { url: '#/osd/create', id: 'cd-osd-form' },

    // Configuration
    configuration: { url: '#/configuration', id: 'cd-configuration' },

    // Crush Map
    'crush map': { url: '#/crush-map', id: 'cd-crushmap' },

    // Mgr modules
    'mgr-modules': { url: '#/mgr-modules', id: 'cd-mgr-module-list' },

    // Logs
    logs: { url: '#/logs', id: 'cd-logs' },

    // RGW Daemons
    'rgw daemons': { url: '#/rgw/daemon', id: 'cd-rgw-daemon-list' }
  };
}