From: Afreen Misbah Date: Mon, 18 May 2026 10:01:58 +0000 (+0530) Subject: mgr/dashboard: fix logs e2e tests after carbonization X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F68971%2Fhead;p=ceph.git mgr/dashboard: fix logs e2e tests after carbonization Update e2e test selectors to match the new Carbon component structure. The .card-body and .message classes were replaced with .log-viewer and .log-entry__message after carbonizing the logs component. Assisted-by: Claude Signed-off-by: Afreen Misbah --- diff --git a/src/pybind/mgr/dashboard/frontend/cypress/e2e/cluster/logs.po.ts b/src/pybind/mgr/dashboard/frontend/cypress/e2e/cluster/logs.po.ts index 5c34eee5ceef..6de2a0627fc7 100644 --- a/src/pybind/mgr/dashboard/frontend/cypress/e2e/cluster/logs.po.ts +++ b/src/pybind/mgr/dashboard/frontend/cypress/e2e/cluster/logs.po.ts @@ -36,8 +36,8 @@ export class LogsPageHelper extends PageHelper { cy.get('input.form-control.ng-valid').first().clear().type(poolname); cy.get('.tab-pane.active') - .get('.card-body') - .get('.message') + .get('.log-viewer') + .get('.log-entry__message') .should('contain.text', poolname) .and('contain.text', `pool ${poolfunction}`); } @@ -69,8 +69,8 @@ export class LogsPageHelper extends PageHelper { cy.get('input.form-control.ng-valid').first().clear().type(configname); cy.get('.tab-pane.active') - .get('.card-body') - .get('.message') + .get('.log-viewer') + .get('.log-entry__message') .should('contain.text', configname) .and('contain.text', setting); }