Skip to content

Commit

Permalink
Updated locators for Verify RHODS Accept Multiple Admin Groups And CR… (
Browse files Browse the repository at this point in the history
#2130)

…D Gets Updates
  • Loading branch information
asanzgom authored Dec 11, 2024
2 parents 56ee229 + 170b8f3 commit e3444d4
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ ${SAVE_BUTTON}= //button[@data-testid="save-new-button"]
Add OpenShift Groups To Data Science Administrators
[Documentation] Add OpenShift Groups to Data Science administrators From RHODS Dashboard
[Arguments] @{admin_groups}
Click Button ${ADMIN_GROUPS_SECTION}//button[@aria-label="Options menu"]
Click Button ${ADMIN_GROUPS_SECTION}//button[@aria-label="Select the OpenShift groups that contain all Data Science administrators."]
FOR ${group} IN @{admin_groups}
${present}= Run Keyword And Return Status Element Should Be Visible
... ${ADMIN_GROUPS_LIST}//*[text()="${group}"]
Expand All @@ -34,7 +34,7 @@ Add OpenShift Groups To Data Science Administrators
Add OpenShift Groups To Data Science User Groups
[Documentation] Add OpenShift Groups to Data Science User From RHODS Dashboard
[Arguments] @{user_groups}
Click Button ${USER_GROUPS_SECTION}//button[@aria-label="Options menu"]
Click Button ${USER_GROUPS_SECTION}//button[@aria-label="Select the OpenShift groups that contain all Data Science users."]
FOR ${group} IN @{user_groups}
${present}= Run Keyword And Return Status Element Should Be Visible
... ${USER_GROUPS_LIST}//*[text()="${group}"]
Expand All @@ -55,7 +55,7 @@ Launch Dashboard And Check User Management Option Is Available For The User
IF ${settings_should_be}
# Wait up to 2 minutes as a workaround for bug RHOAIENG-11116
Menu.Navigate To Page Settings User management timeout=2m
Wait Until Element Is Visible //button[@aria-label="Options menu"] timeout=10s
Wait Until Element Is Visible //button[@aria-label="Select the OpenShift groups that contain all Data Science administrators."] timeout=10s
ELSE
Verify Cluster Settings Is Not Available
END
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ Setting Pod Toleration Via UI
Verify RHODS Accept Multiple Admin Groups And CRD Gets Updates
[Documentation] Verify that users can set multiple admin groups and
... check OdhDashboardConfig CRD gets updated according to Admin UI
[Tags] Upgrade AutomationBug RHOAIENG-14306
[Tags] Upgrade RHOAIENG-14306
[Setup] Begin Web Test
# robocop: disable
Launch Dashboard And Check User Management Option Is Available For The User
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ Verify Pod Toleration

Verify RHODS User Groups
[Documentation] Verify User Configuration after the upgrade
[Tags] Upgrade AutomationBug
[Tags] Upgrade
${admin} Set Variable ${payload[0]['spec']['groupsConfig']['adminGroups']}
${user} Set Variable ${payload[0]['spec']['groupsConfig']['allowedGroups']}
Should Be Equal As Strings '${admin}' 'rhods-admins,rhods-users'
Expand Down

0 comments on commit e3444d4

Please sign in to comment.