From d3ce146bf800b14cd76102c0ded5f7b4fc98e557 Mon Sep 17 00:00:00 2001 From: Aashish Sharma Date: Fri, 8 Apr 2022 10:49:04 +0530 Subject: [PATCH] mgr/dashboard: fix linting errors and add test Fixes: https://tracker.ceph.com/issues/55218 Signed-off-by: Aashish Sharma (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 --- .../frontend/cypress/integration/cluster/services.po.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pybind/mgr/dashboard/frontend/cypress/integration/cluster/services.po.ts b/src/pybind/mgr/dashboard/frontend/cypress/integration/cluster/services.po.ts index c32a9f21d43..5b75a9f6e19 100644 --- a/src/pybind/mgr/dashboard/frontend/cypress/integration/cluster/services.po.ts +++ b/src/pybind/mgr/dashboard/frontend/cypress/integration/cluster/services.po.ts @@ -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(() => { -- 2.47.3