]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/pybind/mgr/dashboard/frontend/cypress/integration/cluster/osds.e2e-spec.ts
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / pybind / mgr / dashboard / frontend / cypress / integration / cluster / osds.e2e-spec.ts
diff --git a/ceph/src/pybind/mgr/dashboard/frontend/cypress/integration/cluster/osds.e2e-spec.ts b/ceph/src/pybind/mgr/dashboard/frontend/cypress/integration/cluster/osds.e2e-spec.ts
deleted file mode 100644 (file)
index 2fc148a..0000000
+++ /dev/null
@@ -1,57 +0,0 @@
-import { OSDsPageHelper } from './osds.po';
-
-describe('OSDs page', () => {
-  const osds = new OSDsPageHelper();
-
-  beforeEach(() => {
-    cy.login();
-    Cypress.Cookies.preserveOnce('token');
-    osds.navigateTo();
-  });
-
-  describe('breadcrumb and tab tests', () => {
-    it('should open and show breadcrumb', () => {
-      osds.expectBreadcrumbText('OSDs');
-    });
-
-    it('should show two tabs', () => {
-      osds.getTabsCount().should('eq', 2);
-      osds.getTabText(0).should('eq', 'OSDs List');
-      osds.getTabText(1).should('eq', 'Overall Performance');
-    });
-  });
-
-  describe('check existence of fields on OSD page', () => {
-    it('should check that number of rows and count in footer match', () => {
-      osds.getTableCount('total').then((text) => {
-        osds.getTableRows().its('length').should('equal', text);
-      });
-    });
-
-    it('should verify that buttons exist', () => {
-      cy.contains('button', 'Create');
-      cy.contains('button', 'Cluster-wide configuration');
-    });
-
-    describe('by selecting one row in OSDs List', () => {
-      beforeEach(() => {
-        osds.getExpandCollapseElement().click();
-      });
-
-      it('should show the correct text for the tab labels', () => {
-        cy.get('#tabset-osd-details > a').then(($tabs) => {
-          const tabHeadings = $tabs.map((_i, e) => e.textContent).get();
-
-          expect(tabHeadings).to.eql([
-            'Devices',
-            'Attributes (OSD map)',
-            'Metadata',
-            'Device health',
-            'Performance counter',
-            'Performance Details'
-          ]);
-        });
-      });
-    });
-  });
-});