From: Afreen Misbah Date: Tue, 29 Jul 2025 16:28:08 +0000 (+0530) Subject: mgr/dashboard: fix mirroring e2e X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=110919c7fec19c350852729979e3d11105a5e1d3;p=ceph.git mgr/dashboard: fix mirroring e2e - fixed by using data-testis selector Signed-off-by: Afreen Misbah --- diff --git a/src/pybind/mgr/dashboard/frontend/cypress/e2e/block/mirroring.e2e-spec.ts b/src/pybind/mgr/dashboard/frontend/cypress/e2e/block/mirroring.e2e-spec.ts index cb7bad51e58ec..495dd7e7410fb 100644 --- a/src/pybind/mgr/dashboard/frontend/cypress/e2e/block/mirroring.e2e-spec.ts +++ b/src/pybind/mgr/dashboard/frontend/cypress/e2e/block/mirroring.e2e-spec.ts @@ -60,7 +60,7 @@ describe('Mirroring page', () => { cy.get('#password').type('admin'); cy.get('[type=submit]').click(); - cy.get('input[name=name]').clear().type(name); + cy.get('[data-testid="pool-name"]').clear().type(name); cy.get(`select[name=poolType]`).select('replicated'); cy.get(`select[name=poolType] option:checked`).contains('replicated'); cy.get('.float-start.me-2.select-menu-edit').click();