summaryrefslogtreecommitdiffstats
path: root/src/pybind/mgr/dashboard/frontend/cypress/e2e/common/urls.po.ts
blob: 6f7316f98f59e9a1c8a44c7d98ed88d40b7bb787 (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
47
48
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' },

    // CephFS
    cephfs: { url: '#/cephfs', id: 'cd-cephfs-list' },
    'create cephfs': { url: '#/cephfs/create', id: 'cd-cephfs-form' }
  };
}