diff --git a/ocs_ci/ocs/ui/views.py b/ocs_ci/ocs/ui/views.py index d7436ed35da..576075bde2b 100644 --- a/ocs_ci/ocs/ui/views.py +++ b/ocs_ci/ocs/ui/views.py @@ -162,7 +162,7 @@ By.CSS_SELECTOR, ), "choose_openshift-storage_project": ( - "//span[text()='openshift-storage']", + "//span[text()='" + config.ENV_DATA["cluster_namespace"] + "']", By.XPATH, ), "choose_all_projects": ("//span[text()='All Projects']", By.XPATH),