From 6fa7b9aa8fb8789f3d7cc8a2aa8308a79c3a76f0 Mon Sep 17 00:00:00 2001 From: oviner Date: Tue, 16 Jul 2024 12:59:01 +0300 Subject: [PATCH] add capacity via UI odf4.17 Signed-off-by: oviner --- ocs_ci/ocs/ui/add_replace_device_ui.py | 4 +--- ocs_ci/ocs/ui/helpers_ui.py | 1 + 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/ocs_ci/ocs/ui/add_replace_device_ui.py b/ocs_ci/ocs/ui/add_replace_device_ui.py index d651c64cded..e63d7362a8b 100644 --- a/ocs_ci/ocs/ui/add_replace_device_ui.py +++ b/ocs_ci/ocs/ui/add_replace_device_ui.py @@ -31,9 +31,7 @@ def add_capacity_ui(self): self.do_click(self.add_capacity_ui_loc["storage_cluster_tab"]) time.sleep(1) logger.info("Click on kebab menu of Storage Systems") - self.do_click( - self.add_capacity_ui_loc["kebab_storage_cluster"], avoid_stale=True - ) + self.do_click(self.add_capacity_ui_loc["kebab_storage_cluster"]) self.take_screenshot() logger.info("Click on Add Capacity button under the kebab menu") self.wait_until_expected_text_is_found( diff --git a/ocs_ci/ocs/ui/helpers_ui.py b/ocs_ci/ocs/ui/helpers_ui.py index 1e0e345aaf7..60d1a50a7d9 100644 --- a/ocs_ci/ocs/ui/helpers_ui.py +++ b/ocs_ci/ocs/ui/helpers_ui.py @@ -133,6 +133,7 @@ def ui_add_capacity_conditions(): "4.14", "4.15", "4.16", + "4.17", ): logger.info( f"Add capacity via UI is not supported when the OCP version [{ocp_version}]"