]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr/dashboard: add cephadm e2e tests for checking count for services instances 47454/head
authorAvan Thakkar <athakkar@redhat.com>
Wed, 3 Aug 2022 08:45:02 +0000 (14:15 +0530)
committerAvan Thakkar <athakkar@redhat.com>
Thu, 4 Aug 2022 07:44:45 +0000 (13:14 +0530)
Signed-off-by: Avan Thakkar <athakkar@redhat.com>
(cherry picked from commit 25b03d85153e368098ebe5bf066f0872449af729)

src/pybind/mgr/dashboard/frontend/cypress/integration/orchestrator/01-hosts.e2e-spec.ts
src/pybind/mgr/dashboard/frontend/cypress/integration/orchestrator/workflow/08-hosts.e2e-spec.ts

index bfe181aff6198e9f7aa63848a155562251522445..aca36ade192198a7faef4396c5f47d5b4103da50 100644 (file)
@@ -82,10 +82,5 @@ describe('Hosts page', () => {
       const hostname = Cypress._.sample(this.hosts).name;
       hosts.maintenance(hostname, true);
     });
-
-    it('should exit host from maintenance', function () {
-      const hostname = Cypress._.sample(this.hosts).name;
-      hosts.checkServiceInstancesExist(hostname, ['mgr: 1', 'prometheus: 1']);
-    });
   });
 });
index 2b0429ed120b43b2bf9820c0522327756411faa6..54ce37d142a2b7b5a24ac5fc28ca217e47f118f0 100644 (file)
@@ -42,4 +42,8 @@ describe('Host Page', () => {
     hosts.add(hostnames[3]);
     hosts.checkExist(hostnames[3], true);
   });
+
+  it('should show the exact count of daemons', () => {
+    hosts.checkServiceInstancesExist(hostnames[0], ['mgr: 1', 'prometheus: 1']);
+  });
 });