]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/dashboard: Fix random E2E error in mgr-modules 34972/head
authorTiago Melo <tmelo@suse.com>
Sat, 9 May 2020 02:28:39 +0000 (02:28 +0000)
committerTiago Melo <tmelo@suse.com>
Sat, 9 May 2020 02:42:32 +0000 (02:42 +0000)
commit08bb5a851f729b01c7cf69f662588903fd7c14bc
treef58b3b2769a3fb80a681ad0c19ae3b4fad50fcdc
parentf719796eaf346ea60c0ce97c4a866931b048031b
mgr/dashboard: Fix random E2E error in mgr-modules

This test failed at random times when it tried to find the new value of pool_ids
in the balancer module.
This happened because the value of pool_ids is automatically reverted by ceph,
so in some situations when we tried to read the new value,
it was already reverted and failed.

Enhanced the tests to be able to use any text input, not only the ones with
empty default values.

Fixes: https://tracker.ceph.com/issues/45445
Signed-off-by: Tiago Melo <tmelo@suse.com>
src/pybind/mgr/dashboard/frontend/cypress/integration/cluster/mgr-modules.e2e-spec.ts
src/pybind/mgr/dashboard/frontend/cypress/integration/cluster/mgr-modules.po.ts