From: Nizamudeen A Date: Tue, 22 Mar 2022 12:11:11 +0000 (+0530) Subject: mgr/dashboard: fix 01-hosts.e2e test error X-Git-Tag: v17.2.4~233^2~2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=8f118d50c8f3f86c4f369fb5cdffc08164bcde4e;p=ceph.git mgr/dashboard: fix 01-hosts.e2e test error Its a regression introduced by BDD testing https://github.com/ceph/ceph/pull/44835/commits/79f8545deba48a2bac6816caa7281e2198f8e5b8 Fixes: https://tracker.ceph.com/issues/54990 Signed-off-by: Nizamudeen A (cherry picked from commit 4a34762330e0ae23c6cc86a8b04c10c6cd4db7f1) --- diff --git a/src/pybind/mgr/dashboard/frontend/cypress/integration/cluster/hosts.po.ts b/src/pybind/mgr/dashboard/frontend/cypress/integration/cluster/hosts.po.ts index 82b212e2297d..b741749f770a 100644 --- a/src/pybind/mgr/dashboard/frontend/cypress/integration/cluster/hosts.po.ts +++ b/src/pybind/mgr/dashboard/frontend/cypress/integration/cluster/hosts.po.ts @@ -27,7 +27,6 @@ export class HostsPageHelper extends PageHelper { } if (exist) { cy.get('#hostname').should('have.class', 'ng-invalid'); - cy.get('cd-back-button').click(); } });