]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr/dashboard: fix linting errors and add test 45722/head
authorAashish Sharma <aasharma@redhat.com>
Fri, 8 Apr 2022 05:19:04 +0000 (10:49 +0530)
committerNizamudeen A <nia@redhat.com>
Tue, 31 May 2022 09:59:54 +0000 (15:29 +0530)
Fixes: https://tracker.ceph.com/issues/55218
Signed-off-by: Aashish Sharma <aasharma@redhat.com>
(cherry picked from commit b496f5837803a915daac98b0fad56eac3174db85)

Conflicts:
   src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/services/service-daemon-list/service-daemon-list.component.html

 - ignore the change

src/pybind/mgr/dashboard/frontend/cypress/integration/cluster/services.po.ts

index c32a9f21d439c6d50fbc83633cf3677bdc37c23b..5b75a9f6e19dffa9cea29b79ce12366f816ebafb 100644 (file)
@@ -18,7 +18,7 @@ export class ServicesPageHelper extends PageHelper {
 
   serviceDetailColumnIndex = {
     daemonName: 2,
-    status: 7
+    status: 4
   };
 
   check_for_service() {
@@ -123,7 +123,7 @@ export class ServicesPageHelper extends PageHelper {
     cy.url().then((url) => {
       if (!url.includes(pages.index.url)) {
         daemonNameIndex = 1;
-        statusIndex = 6;
+        statusIndex = 3;
       }
 
       cy.get('cd-service-daemon-list').within(() => {