]> git.proxmox.com Git - ceph.git/blob - ceph/src/pybind/mgr/dashboard/frontend/cypress/integration/cluster/crush-map.po.ts
import 15.2.4
[ceph.git] / ceph / src / pybind / mgr / dashboard / frontend / cypress / integration / cluster / crush-map.po.ts
1 import { PageHelper } from '../page-helper.po';
2
3 export class CrushMapPageHelper extends PageHelper {
4 pages = { index: { url: '#/crush-map', id: 'cd-crushmap' } };
5
6 getPageTitle() {
7 return cy.get('cd-crushmap .card-header').text();
8 }
9
10 getCrushNode(idx: number) {
11 return cy.get('.node-name.type-osd').eq(idx);
12 }
13 }