From 9ee402f2cee7e8690e89d61868bcc49ddeaef861 Mon Sep 17 00:00:00 2001 From: Suchita Gatfane Date: Thu, 30 May 2024 16:10:16 +0530 Subject: [PATCH] Fix the use of hardcoded namespace to use of custom namespace (#9871) Remove the Hardcoading of cluster namespace "openshift-storage" to use custom storage namespace depend og platform Fix#9870 Signed-off-by: suchita-g --- ocs_ci/ocs/ui/validation_ui.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ocs_ci/ocs/ui/validation_ui.py b/ocs_ci/ocs/ui/validation_ui.py index b06405f6720..65a7b5d6af7 100644 --- a/ocs_ci/ocs/ui/validation_ui.py +++ b/ocs_ci/ocs/ui/validation_ui.py @@ -558,8 +558,8 @@ def validate_storage_cluster_ui(self): """ if self.ocp_version_semantic >= version.VERSION_4_9: self.navigate_installed_operators_page() - logger.info("Search and select openshift-storage namespace") - self.select_namespace(project_name="openshift-storage") + logger.info("Search and select storage cluster namespace") + self.select_namespace(project_name=config.ENV_DATA["cluster_namespace"]) logger.info( "Click on Storage System under Provided APIs on Installed Operators Page" )