]> git.proxmox.com Git - ceph.git/blame - ceph/src/pybind/mgr/dashboard/frontend/cypress/e2e/cluster/crush-map.po.ts
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / pybind / mgr / dashboard / frontend / cypress / e2e / cluster / crush-map.po.ts
CommitLineData
e306af50
TL
1import { PageHelper } from '../page-helper.po';
2
3export 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}