Skip to content

Commit

Permalink
Update more locators
Browse files Browse the repository at this point in the history
Signed-off-by: Elena Bondarenko <[email protected]>
  • Loading branch information
ebondare committed Apr 11, 2024
1 parent a5dc1e5 commit 9a09b17
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions ocs_ci/ocs/ui/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -1286,19 +1286,22 @@
"req_capacity_dropdown_selected": (
"//div[@id='breakdown-card-title']/following-sibling::*//*[@class = 'pf-c-select__toggle-text'] | "
"//div[@class='pf-v5-c-select ceph-capacity-breakdown-card-header__dropdown']"
"//*[@class = 'pf-v5-c-select__toggle-text']",
"//*[@class='pf-v5-c-select__toggle-text']",
By.XPATH,
),
"req_capacity_dropdown_btn_one": (
"//div[@class='pf-c-select ceph-capacity-breakdown-card-header__dropdown']",
"//div[@class='pf-c-select ceph-capacity-breakdown-card-header__dropdown'] | "
"//div[@class='pf-v5-c-select ceph-capacity-breakdown-card-header__dropdown']",
By.XPATH,
),
"req_capacity_dropdown_btn_two": (
"(//span[@class='pf-c-select__toggle-arrow'])[2]",
"(//span[@class='pf-c-select__toggle-arrow'])[2] | "
"(//span[@class='pf-v5-c-select__toggle-arrow'])[2]",
By.XPATH,
),
"req_capacity_dropdown_list_option": (
"//*[@class='pf-c-select__menu-item' and contains(text(), '{}')]",
"//*[@class='pf-c-select__menu-item' and contains(text(), '{}')] | "
"//*[@class='pf-v5-c-select__menu-item' and contains(text(), '{}')]",
By.XPATH,
),
"req_capacity_dropdown_namespace": (
Expand Down

0 comments on commit 9a09b17

Please sign in to comment.