]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/pybind/mgr/dashboard/frontend/cypress/integration/cluster/create-cluster.po.ts
import quincy beta 17.1.0
[ceph.git] / ceph / src / pybind / mgr / dashboard / frontend / cypress / integration / cluster / create-cluster.po.ts
index 52be703af28eb61ec60c45f6585d71dced6f6f30..819afd559b1298529d5c81b98650479a5a9e50cb 100644 (file)
@@ -24,20 +24,6 @@ export class CreateClusterWizardHelper extends PageHelper {
     notification.open();
     notification.getNotifications().should('contain', 'Cluster expansion skipped by user');
   }
-
-  createOSD(deviceType: 'hdd' | 'ssd') {
-    // Click Primary devices Add button
-    cy.get('cd-osd-devices-selection-groups[name="Primary"]').as('primaryGroups');
-    cy.get('@primaryGroups').find('button').click();
-
-    // Select all devices with `deviceType`
-    cy.get('cd-osd-devices-selection-modal').within(() => {
-      cy.get('.modal-footer .tc_submitButton').as('addButton').should('be.disabled');
-      this.filterTable('Type', deviceType);
-      this.getTableCount('total').should('be.gte', 1);
-      cy.get('@addButton').click();
-    });
-  }
 }
 
 export class CreateClusterHostPageHelper extends HostsPageHelper {