]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/pybind/mgr/dashboard/frontend/cypress/integration/cluster/crush-map.e2e-spec.ts
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / pybind / mgr / dashboard / frontend / cypress / integration / cluster / crush-map.e2e-spec.ts
diff --git a/ceph/src/pybind/mgr/dashboard/frontend/cypress/integration/cluster/crush-map.e2e-spec.ts b/ceph/src/pybind/mgr/dashboard/frontend/cypress/integration/cluster/crush-map.e2e-spec.ts
deleted file mode 100644 (file)
index 0a45473..0000000
+++ /dev/null
@@ -1,37 +0,0 @@
-import { CrushMapPageHelper } from './crush-map.po';
-
-describe('CRUSH map page', () => {
-  const crushmap = new CrushMapPageHelper();
-
-  beforeEach(() => {
-    cy.login();
-    Cypress.Cookies.preserveOnce('token');
-    crushmap.navigateTo();
-  });
-
-  describe('breadcrumb test', () => {
-    it('should open and show breadcrumb', () => {
-      crushmap.expectBreadcrumbText('CRUSH map');
-    });
-  });
-
-  describe('fields check', () => {
-    it('should check that title & table appears', () => {
-      // Check that title (CRUSH map viewer) appears
-      crushmap.getPageTitle().should('equal', 'CRUSH map viewer');
-
-      // Check that title appears once OSD is clicked
-      crushmap.getCrushNode(0).click();
-
-      crushmap
-        .getLegends()
-        .invoke('text')
-        .then((legend) => {
-          crushmap.getCrushNode(0).should('have.text', legend);
-        });
-
-      // Check that table appears once OSD is clicked
-      crushmap.getDataTables().should('be.visible');
-    });
-  });
-});