]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/dashboard: fix timeout error in dashboard cephadm e2e job
authorNizamudeen A <nia@redhat.com>
Mon, 20 Dec 2021 09:14:29 +0000 (14:44 +0530)
committerNizamudeen A <nia@redhat.com>
Wed, 5 Jan 2022 14:17:47 +0000 (19:47 +0530)
commit91c61ddcd2ecb30a8f7ebb7870da97955202ad9c
tree21845837ec6901d7932866daff1735654230778c
parent5c1acc0c5b989a6fec970a23bf0113c56457065e
mgr/dashboard: fix timeout error in dashboard cephadm e2e job

1. Fix the timeout error happening in the dashboard e2e job
2. Take care of the flaky force maintenance check

Most of the time our test is getting timed out while searching for an item
in the table. Its because `.clear().type()` is not clearing the content
in the search field sometimes and that creates a wrong data to be
entered into the search field and it starts searching based on this
wrong name. To avoid this I am explicitly clearing the search area
before typing.

Fixes: https://tracker.ceph.com/issues/53672
Signed-off-by: Nizamudeen A <nia@redhat.com>
(cherry picked from commit fed358d7c5a21cc76cae7042975f7e47ac3f8d50)
src/pybind/mgr/dashboard/frontend/cypress/integration/cluster/configuration.po.ts
src/pybind/mgr/dashboard/frontend/cypress/integration/cluster/hosts.po.ts
src/pybind/mgr/dashboard/frontend/cypress/integration/cluster/osds.po.ts
src/pybind/mgr/dashboard/frontend/cypress/integration/cluster/services.po.ts
src/pybind/mgr/dashboard/frontend/cypress/integration/orchestrator/workflow/06-cluster-check.e2e-spec.ts
src/pybind/mgr/dashboard/frontend/cypress/integration/page-helper.po.ts