The frontend showed textboxes for the dashboard settings because
the actual type information was missing here. The REST API then
returned the default type 'str'.
Edit the e2e test case in order to update a different setting as
the 'editMgrModule' method can't handle checkboxes.
Fixes: https://tracker.ceph.com/issues/43769
Signed-off-by: Tatjana Dehler <tdehler@suse.com>
(cherry picked from commit
7e7cac98116e76bc9e4c52ac47796e3fcd880667)
for option, value in inspect.getmembers(Options, filter_attr):
if option.startswith('_'):
continue
- result.append({'name': option, 'default': value[0]})
+ result.append({'name': option, 'default': value[0],
+ 'type': value[1].__name__})
return result