]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr/dashboard: fix daemon e2e 69573/head
authorNaman Munet <naman.munet@ibm.com>
Thu, 18 Jun 2026 08:04:55 +0000 (13:34 +0530)
committerNaman Munet <naman.munet@ibm.com>
Thu, 18 Jun 2026 08:10:34 +0000 (13:40 +0530)
fixes: https://tracker.ceph.com/issues/77489

Signed-off-by: Naman Munet <naman.munet@ibm.com>
src/pybind/mgr/dashboard/frontend/cypress/e2e/rgw/daemons.po.ts

index 6fabffd9e2e54e3f37a371f465553d08f8122e7f..258b21bf466145304f32d4a0f91c4a5d0eadbe6c 100644 (file)
@@ -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();