]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/pybind/mgr/dashboard/frontend/cypress/integration/orchestrator/workflow/04-create-cluster-create-services.e2e-spec.ts
import quincy beta 17.1.0
[ceph.git] / ceph / src / pybind / mgr / dashboard / frontend / cypress / integration / orchestrator / workflow / 04-create-cluster-create-services.e2e-spec.ts
diff --git a/ceph/src/pybind/mgr/dashboard/frontend/cypress/integration/orchestrator/workflow/04-create-cluster-create-services.e2e-spec.ts b/ceph/src/pybind/mgr/dashboard/frontend/cypress/integration/orchestrator/workflow/04-create-cluster-create-services.e2e-spec.ts
deleted file mode 100644 (file)
index aec174a..0000000
+++ /dev/null
@@ -1,46 +0,0 @@
-import {
-  CreateClusterServicePageHelper,
-  CreateClusterWizardHelper
-} from 'cypress/integration/cluster/create-cluster.po';
-
-describe('Create cluster create services page', () => {
-  const createCluster = new CreateClusterWizardHelper();
-  const createClusterServicePage = new CreateClusterServicePageHelper();
-
-  beforeEach(() => {
-    cy.login();
-    Cypress.Cookies.preserveOnce('token');
-    createCluster.navigateTo();
-    createCluster.createCluster();
-    cy.get('.nav-link').contains('Create Services').click();
-  });
-
-  it('should check if title contains Create Services', () => {
-    cy.get('.title').should('contain.text', 'Create Services');
-  });
-
-  describe('when Orchestrator is available', () => {
-    const serviceName = 'rgw.foo';
-
-    it('should create an rgw service', () => {
-      cy.get('.btn.btn-accent').first().click({ force: true });
-
-      createClusterServicePage.addService('rgw', false, '2');
-      createClusterServicePage.checkExist(serviceName, true);
-    });
-
-    it('should edit a service', () => {
-      const count = '3';
-      createClusterServicePage.editService(serviceName, count);
-      createClusterServicePage.expectPlacementCount(serviceName, count);
-    });
-
-    it('should create and delete an ingress service', () => {
-      cy.get('.btn.btn-accent').first().click({ force: true });
-
-      createClusterServicePage.addService('ingress');
-      createClusterServicePage.checkExist('ingress.rgw.foo', true);
-      createClusterServicePage.deleteService('ingress.rgw.foo');
-    });
-  });
-});