1 import { PageHelper } from '../page-helper.po';
3 export class DaemonsPageHelper extends PageHelper {
5 index: { url: '#/rgw/daemon', id: 'cd-rgw-daemon-list' }
13 .should('have.length', 1) // Only 1 table should be renderer
14 .find('datatable-body-cell');
18 // click on a daemon so details table appears
19 cy.get('.datatable-body-cell-label').first().click();
21 // check details table is visible
22 // check at least one field is present
23 this.getTableCell().should('be.visible').should('contain.text', 'ceph_version');
25 // click on performance counters tab and check table is loaded
26 cy.contains('.nav-link', 'Performance Counters').click();
28 // check at least one field is present
29 this.getTableCell().should('be.visible').should('contain.text', 'objecter.op_r');
31 // click on performance details tab
32 cy.contains('.nav-link', 'Performance Details').click();