Skip to content

Commit

Permalink
Added condition when encryption is 'Not enabled' on the cluster
Browse files Browse the repository at this point in the history
Signed-off-by: Parag Kamble <[email protected]>
  • Loading branch information
paraggit committed Jan 8, 2025
1 parent 2261415 commit 2372db1
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions ocs_ci/ocs/ui/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -1798,7 +1798,8 @@
"encryption_summary": {
"file_and_block": {
"enabled": (
"//button[@class='pf-v5-c-button pf-m-link pf-m-inline' and text()='Enabled']",
"//button[@class='pf-v5-c-button pf-m-link pf-m-inline' and "
"(text()='Enabled' or text()='Not enabled')]",
By.XPATH,
),
"close": (
Expand All @@ -1812,7 +1813,8 @@
},
"object_storage": {
"enabled": (
"//button[@class='pf-v5-c-button pf-m-link pf-m-inline' and text()='Enabled']",
"//button[@class='pf-v5-c-button pf-m-link pf-m-inline' and "
"(text()='Enabled' or text()='Not enabled')]",
By.XPATH,
),
"close": (
Expand Down

0 comments on commit 2372db1

Please sign in to comment.