Skip to content

Commit

Permalink
copied dict with locators from 4.15 to 4.16
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel Osypenko <[email protected]>
  • Loading branch information
DanielOsypenko committed Feb 28, 2024
1 parent 2932a69 commit 5e40e1d
Show file tree
Hide file tree
Showing 2 changed files with 47 additions and 0 deletions.
1 change: 1 addition & 0 deletions ocs_ci/ocs/ui/helpers_ui.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@ def ui_add_capacity_conditions():
"4.13",
"4.14",
"4.15",
"4.16",
):
logger.info(
f"Add capacity via UI is not supported when the OCP version [{ocp_version}]"
Expand Down
46 changes: 46 additions & 0 deletions ocs_ci/ocs/ui/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -1728,6 +1728,52 @@
}

locators = {
"4.16": {
"login": {**login, **login_4_11, **login_4_14},
"page": {**page_nav, **page_nav_4_10, **page_nav_4_14},
"generic": generic_locators,
"add_capacity": {**add_capacity, **add_capacity_4_11, **add_capacity_4_12},
"deployment": {
**deployment,
**deployment_4_7,
**deployment_4_9,
**deployment_4_10,
**deployment_4_11,
**deployment_4_12,
**deployment_4_15,
},
"obc": obc,
"pvc": {
**pvc,
**pvc_4_7,
**pvc_4_8,
**pvc_4_9,
**pvc_4_12,
**pvc_4_14,
},
"acm_page": {
**acm_page_nav,
**acm_configuration,
**acm_configuration_4_11,
**acm_configuration_4_12,
**acm_configuration_4_13,
},
"validation": {
**validation,
**validation_4_8,
**validation_4_9,
**validation_4_10,
**validation_4_11,
**validation_4_12,
**validation_4_13,
**validation_4_14,
},
"block_pool": {**block_pool, **block_pool_4_12, **block_pool_4_13},
"storageclass": {**storageclass, **storageclass_4_9},
"bucketclass": bucketclass,
"topology": topology,
"mcg_stores": mcg_stores,
},
"4.15": {
"login": {**login, **login_4_11, **login_4_14},
"page": {**page_nav, **page_nav_4_10, **page_nav_4_14},
Expand Down

0 comments on commit 5e40e1d

Please sign in to comment.