Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated locators for Verify RHODS Accept Multiple Admin Groups And CR… #2130

Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
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."]

Check warning

Code scanning / Robocop

Line is too long ({{ line_length }}/{{ allowed_length }}) Warning test

Line is too long (139/120)
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 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."]

Check warning

Code scanning / Robocop

Line is too long ({{ line_length }}/{{ allowed_length }}) Warning test

Line is too long (129/120)
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 @@
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 # This locator is failing
Fixed Show fixed Hide fixed
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
Loading