]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/dashboard: introduce grafana frontend e2e testing
authorNizamudeen A <nia@redhat.com>
Thu, 7 Apr 2022 13:31:39 +0000 (19:01 +0530)
committerNizamudeen A <nia@redhat.com>
Tue, 26 Apr 2022 17:37:38 +0000 (23:07 +0530)
commit3d477a39bbf2d27117fb3b35aa5e394938d3aa33
treedf9035db0d472e504010c111941db6bca1c3c325
parent1ac01c60df404045b7da9a6849133f590a5a6b9c
mgr/dashboard: introduce grafana frontend e2e testing

Used the https://www.npmjs.com/package/@grafana/e2e npm packages and
followed
https://github.com/grafana/grafana/blob/main/contribute/style-guides/e2e.md
to understand the style of the grafana e2e testing.

In this PR I introduces the tests for the Hosts Overall
Performance and also RGW per Daemon and Overall Performance

Fixes: https://tracker.ceph.com/issues/54356
Signed-off-by: Nizamudeen A <nia@redhat.com>
13 files changed:
src/pybind/mgr/dashboard/ci/cephadm/bootstrap-cluster.sh
src/pybind/mgr/dashboard/ci/cephadm/run-cephadm-e2e-tests.sh
src/pybind/mgr/dashboard/frontend/cypress/integration/cluster/mgr-modules.po.ts
src/pybind/mgr/dashboard/frontend/cypress/integration/common/01-global.feature.po.ts
src/pybind/mgr/dashboard/frontend/cypress/integration/common/grafana.feature.po.ts [new file with mode: 0644]
src/pybind/mgr/dashboard/frontend/cypress/integration/common/urls.po.ts
src/pybind/mgr/dashboard/frontend/cypress/integration/orchestrator/grafana/grafana.feature [new file with mode: 0644]
src/pybind/mgr/dashboard/frontend/cypress/integration/orchestrator/workflow/06-cluster-check.e2e-spec.ts
src/pybind/mgr/dashboard/frontend/cypress/integration/orchestrator/workflow/08-hosts.e2e-spec.ts
src/pybind/mgr/dashboard/frontend/cypress/plugins/index.js
src/pybind/mgr/dashboard/frontend/cypress/support/commands.ts
src/pybind/mgr/dashboard/frontend/package-lock.json
src/pybind/mgr/dashboard/frontend/package.json