]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/dashboard: fix orchestrator/02-hosts-inventory.e2e failed. 44467/head
authorNizamudeen A <nia@redhat.com>
Thu, 23 Dec 2021 10:53:31 +0000 (16:23 +0530)
committerNizamudeen A <nia@redhat.com>
Wed, 5 Jan 2022 14:12:05 +0000 (19:42 +0530)
commitb6378ae252e049bfb5856577dead4f681488647a
treeb59485c745b77afc55d951c47514023838cc09a0
parent5c1acc0c5b989a6fec970a23bf0113c56457065e
mgr/dashboard: fix orchestrator/02-hosts-inventory.e2e failed.

I removed the `02-hosts-inventory.e2e` file because it is a duplicate
test of one of the test in the `01-hosts.e2e` file and fixed the error
from that file.

Also, in the inventory Identify test, we test for an element to be not
visible. According to the latest cypress docs, this should be not.exist
instead of not.visible since the cd-modal will not even be present in
the DOM

Fixes: https://tracker.ceph.com/issues/53499
Signed-off-by: Nizamudeen A <nia@redhat.com>
(cherry picked from commit 7b9fb258c46f4a93ca53a5864a8eb4363147bcdc)
qa/workunits/cephadm/test_dashboard_e2e.sh
src/pybind/mgr/dashboard/frontend/cypress/integration/cluster/inventory.po.ts
src/pybind/mgr/dashboard/frontend/cypress/integration/orchestrator/01-hosts.e2e-spec.ts
src/pybind/mgr/dashboard/frontend/cypress/integration/orchestrator/02-hosts-inventory.e2e-spec.ts [deleted file]