From 268a8578032498dde6caaacf1edd1b9700bfa2cd Mon Sep 17 00:00:00 2001 From: Naman Munet Date: Thu, 18 Jun 2026 13:34:55 +0530 Subject: [PATCH] mgr/dashboard: fix daemon e2e fixes: https://tracker.ceph.com/issues/77489 Signed-off-by: Naman Munet --- .../mgr/dashboard/frontend/cypress/e2e/rgw/daemons.po.ts | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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 6fabffd9e2e..258b21bf466 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(); -- 2.47.3