From: Naman Munet Date: Thu, 18 Jun 2026 08:04:55 +0000 (+0530) Subject: mgr/dashboard: fix daemon e2e X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=268a8578032498dde6caaacf1edd1b9700bfa2cd;p=ceph.git mgr/dashboard: fix daemon e2e fixes: https://tracker.ceph.com/issues/77489 Signed-off-by: Naman Munet --- diff --git a/src/pybind/mgr/dashboard/frontend/cypress/e2e/rgw/daemons.po.ts b/src/pybind/mgr/dashboard/frontend/cypress/e2e/rgw/daemons.po.ts index 6fabffd9e2e5..258b21bf4661 100644 --- a/src/pybind/mgr/dashboard/frontend/cypress/e2e/rgw/daemons.po.ts +++ b/src/pybind/mgr/dashboard/frontend/cypress/e2e/rgw/daemons.po.ts @@ -25,8 +25,11 @@ export class DaemonsPageHelper extends PageHelper { // click on performance counters tab and check table is loaded cy.contains('.nav-link', 'Performance Counters').click(); - // check at least one field is present - this.getTableCell().should('be.visible').should('contain.text', 'objecter.op_r'); + // check at least one field is present (objecter counter may have memory address suffix) + this.getTableCell() + .should('be.visible') + .invoke('text') + .should('match', /objecter.*\.op_r/); // click on performance details tab cy.contains('.nav-link', 'Performance Details').click();