Skip to content

Commit

Permalink
Fix of test_ocs_operator_is_not_present for utilizing custom namespace (
Browse files Browse the repository at this point in the history
#9877)

In Test case test_ocs_operator_is_not_present the use of namespace
"openshift-storage" is hardcoded, hence this test is failing on
platform where custom name is used for ODF deployment, like ROSA/AWS HCP
Fix for: #9876

Signed-off-by: suchita-g <[email protected]>
  • Loading branch information
suchita-g authored May 31, 2024
1 parent 0b2ba53 commit a309162
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ocs_ci/ocs/ui/validation_ui.py
Original file line number Diff line number Diff line change
Expand Up @@ -627,7 +627,7 @@ def verify_odf_without_ocs_in_installed_operator(self) -> tuple:
logger.info("Navigating to Installed Operator Page")
self.navigate_installed_operators_page()

self.select_namespace(project_name="openshift-storage")
self.select_namespace(project_name=config.ENV_DATA["cluster_namespace"])

logger.info("Searching for Openshift Data Foundation Operator")
odf_operator_presence = self.wait_until_expected_text_is_found(
Expand Down

0 comments on commit a309162

Please sign in to comment.