Skip to content

Commit c56e10a

Browse files
committed
mgr/dashboard: fix the cephadm grafana e2e failure
Fixes: https://tracker.ceph.com/issues/61354 Signed-off-by: Nizamudeen A <[email protected]>
1 parent 222dec3 commit c56e10a

File tree

3 files changed

+3
-6
lines changed

3 files changed

+3
-6
lines changed

src/pybind/mgr/dashboard/ci/cephadm/run-cephadm-e2e-tests.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,5 +55,5 @@ kcli ssh -u root ceph-node-00 'cephadm shell "ceph orch apply node-exporter --pl
5555

5656
kcli ssh -u root ceph-node-00 'cephadm shell "ceph config set mgr mgr/prometheus/exclude_perf_counters false"'
5757

58-
cypress_run ["cypress/e2e/orchestrator/workflow/*.feature, cypress/e2e/orchestrator/workflow/*-spec.ts"]
58+
cypress_run ["cypress/e2e/orchestrator/workflow/*.feature","cypress/e2e/orchestrator/workflow/*-spec.ts"]
5959
cypress_run "cypress/e2e/orchestrator/grafana/*.feature"

src/pybind/mgr/dashboard/frontend/cypress/e2e/common/grafana.feature.po.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ Then(
6161
.should('be.visible')
6262
.within(() => {
6363
for (const legend of legends.split(', ')) {
64-
cy.get('a').contains(legend);
64+
cy.get(`button`).contains(legend);
6565
}
6666
});
6767
});

src/pybind/mgr/dashboard/frontend/cypress/e2e/orchestrator/grafana/grafana.feature

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ Feature: Grafana panels
3838
| GET Latencies by RGW Instance | foo.ceph-node-00, foo.ceph-node-01, foo.ceph-node-02 |
3939
| Bandwidth by RGW Instance | foo.ceph-node-00, foo.ceph-node-01, foo.ceph-node-02 |
4040
| PUT Latencies by RGW Instance | foo.ceph-node-00, foo.ceph-node-01, foo.ceph-node-02 |
41-
| Average GET/PUT Latencies | GET AVG, PUT AVG |
41+
| Average GET/PUT Latencies by RGW Instance | GET, PUT |
4242
| Bandwidth Consumed by Type | GETs, PUTs |
4343

4444
Scenario Outline: RGW per Daemon Performance
@@ -54,10 +54,7 @@ Feature: Grafana panels
5454
| name | panel |
5555
| foo.ceph-node-00 | Bandwidth by HTTP Operation |
5656
| foo.ceph-node-00 | HTTP Request Breakdown |
57-
| foo.ceph-node-00 | Workload Breakdown |
5857
| foo.ceph-node-01 | Bandwidth by HTTP Operation |
5958
| foo.ceph-node-01 | HTTP Request Breakdown |
60-
| foo.ceph-node-01 | Workload Breakdown |
6159
| foo.ceph-node-02 | Bandwidth by HTTP Operation |
6260
| foo.ceph-node-02 | HTTP Request Breakdown |
63-
| foo.ceph-node-02 | Workload Breakdown |

0 commit comments

Comments
 (0)