]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/pybind/mgr/dashboard/frontend/cypress/integration/block/mirroring.e2e-spec.ts
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / pybind / mgr / dashboard / frontend / cypress / integration / block / mirroring.e2e-spec.ts
diff --git a/ceph/src/pybind/mgr/dashboard/frontend/cypress/integration/block/mirroring.e2e-spec.ts b/ceph/src/pybind/mgr/dashboard/frontend/cypress/integration/block/mirroring.e2e-spec.ts
deleted file mode 100644 (file)
index dfba73b..0000000
+++ /dev/null
@@ -1,54 +0,0 @@
-import { PoolPageHelper } from '../pools/pools.po';
-import { MirroringPageHelper } from './mirroring.po';
-
-describe('Mirroring page', () => {
-  const pools = new PoolPageHelper();
-  const mirroring = new MirroringPageHelper();
-
-  beforeEach(() => {
-    cy.login();
-    Cypress.Cookies.preserveOnce('token');
-    mirroring.navigateTo();
-  });
-
-  it('should open and show breadcrumb', () => {
-    mirroring.expectBreadcrumbText('Mirroring');
-  });
-
-  it('should show three tabs', () => {
-    mirroring.getTabsCount().should('eq', 3);
-  });
-
-  it('should show text for all tabs', () => {
-    mirroring.getTabText(0).should('eq', 'Issues (0)');
-    mirroring.getTabText(1).should('eq', 'Syncing (0)');
-    mirroring.getTabText(2).should('eq', 'Ready (0)');
-  });
-
-  describe('checks that edit mode functionality shows in the pools table', () => {
-    const poolName = 'mirroring_test';
-
-    beforeEach(() => {
-      pools.navigateTo('create'); // Need pool for mirroring testing
-      pools.create(poolName, 8, 'rbd');
-      pools.navigateTo();
-      pools.existTableCell(poolName, true);
-    });
-
-    it('tests editing mode for pools', () => {
-      mirroring.navigateTo();
-
-      mirroring.editMirror(poolName, 'Pool');
-      mirroring.getFirstTableCell('pool').should('be.visible');
-      mirroring.editMirror(poolName, 'Image');
-      mirroring.getFirstTableCell('image').should('be.visible');
-      mirroring.editMirror(poolName, 'Disabled');
-      mirroring.getFirstTableCell('disabled').should('be.visible');
-    });
-
-    afterEach(() => {
-      pools.navigateTo();
-      pools.delete(poolName);
-    });
-  });
-});