From: Nizamudeen A Date: Fri, 14 Apr 2023 19:33:11 +0000 (+0530) Subject: mgr/dashboard: skip Create OSDs step in Cluster expansion X-Git-Tag: v18.1.0~168^2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=dbc8d0d46f9aa6b9f18e02d514d50f7f1128cfd9;p=ceph-ci.git mgr/dashboard: skip Create OSDs step in Cluster expansion Its to ensure OSDs are not deployed on all hosts because that would make the host draining impossible Fixes: https://tracker.ceph.com/issues/59457 Signed-off-by: Nizamudeen A (cherry picked from commit 0f6d23a7aa024495a79cdedc80f7a00902115b6b) --- diff --git a/src/pybind/mgr/dashboard/frontend/cypress/integration/orchestrator/workflow/06-cluster-check.e2e-spec.ts b/src/pybind/mgr/dashboard/frontend/cypress/integration/orchestrator/workflow/06-cluster-check.e2e-spec.ts index 565c5da21e0..94cb36c1929 100644 --- a/src/pybind/mgr/dashboard/frontend/cypress/integration/orchestrator/workflow/06-cluster-check.e2e-spec.ts +++ b/src/pybind/mgr/dashboard/frontend/cypress/integration/orchestrator/workflow/06-cluster-check.e2e-spec.ts @@ -20,6 +20,11 @@ describe('when cluster creation is completed', () => { createCluster.navigateTo(); createCluster.createCluster(); + // Explicitly skip OSD Creation Step so that it prevents from + // deploying OSDs to the hosts automatically. + cy.get('.nav-link').contains('Create OSDs').click(); + cy.get('button[aria-label="Skip this step"]').click(); + cy.get('.nav-link').contains('Review').click(); cy.get('button[aria-label="Next"]').click(); cy.get('cd-dashboard').should('exist');