]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/pybind/mgr/dashboard/frontend/cypress/integration/orchestrator/workflow/03-create-cluster-create-services.e2e-spec.ts
import ceph quincy 17.2.4
[ceph.git] / ceph / src / pybind / mgr / dashboard / frontend / cypress / integration / orchestrator / workflow / 03-create-cluster-create-services.e2e-spec.ts
index e386a170a0488bd00bf429dded3f780bfb76e60b..7668cafcf928c23babd75fed2e97c577bacbad87 100644 (file)
@@ -1,14 +1,16 @@
+/* tslint:disable*/
 import {
   CreateClusterServicePageHelper,
   CreateClusterWizardHelper
-} from 'cypress/integration/cluster/create-cluster.po';
+} from '../../cluster/create-cluster.po';
+/* tslint:enable*/
 
 describe('Create cluster create services page', () => {
   const createCluster = new CreateClusterWizardHelper();
   const createClusterServicePage = new CreateClusterServicePageHelper();
 
   const createService = (serviceType: string, serviceName: string, count = '1') => {
-    cy.get('button[data-testid=table-action-button]').click();
+    cy.get('[aria-label=Create]').first().click();
     createClusterServicePage.addService(serviceType, false, count);
     createClusterServicePage.checkExist(serviceName, true);
   };