-
Notifications
You must be signed in to change notification settings - Fork 82
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
Improve keyword to wait for dashboard and remove Seldon folder #658
Improve keyword to wait for dashboard and remove Seldon folder #658
Conversation
Robot Results
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
IF ${wait_for_cards} == ${TRUE} | ||
Wait Until Cards Are Loaded | ||
END | ||
|
Check warning
Code scanning / Robocop
Trailing whitespace at the end of line
[Return] ${apps_dict_obj} | ||
|
||
Wait Until Cards Are Loaded | ||
Wait Until Page Contains Element xpath://div[contains(@class,'odh-explore-apps__gallery')] | ||
Wait Until Page Contains Element xpath://div[contains(@class,'-apps__gallery')] | ||
|
Check warning
Code scanning / Robocop
Trailing whitespace at the end of line
Wait For Condition return document.title == ${dashboard_title} timeout=15s | ||
Wait Until Page Contains Element xpath:${RHODS_LOGO_XPATH} timeout=15s | ||
IF ${wait_for_cards} == ${TRUE} |
Check notice
Code scanning / Robocop
IF can be replaced with inline IF
@@ -123,7 +129,8 @@ | |||
[Documentation] Verify the service appears in Applications > Explore | |||
[Arguments] ${app_name} | |||
Menu.Navigate To Page Applications Explore | |||
Wait Until Page Contains Jupyter timeout=30 | |||
# Wait Until Page Contains Jupyter timeout=30 | |||
Wait for RHODS Dashboard to Load expected_page=Explore |
Check warning
Code scanning / Robocop
Keyword name '{{ keyword_name }}' does not follow case convention
Click Link Data Science Projects | ||
Wait for RHODS Dashboard to Load wait_for_cards=${FALSE} expected_page=Data science projects |
Check warning
Code scanning / Robocop
Keyword name '{{ keyword_name }}' does not follow case convention
Wait For Condition return document.title == ${dashboard_title} timeout=15s | ||
Wait Until Page Contains Element xpath:${RHODS_LOGO_XPATH} timeout=15s | ||
IF "${expected_page}" != "${NONE}" | ||
Wait Until Page Contains Element xpath://h1[text()="${expected_page}"] |
Check warning
Code scanning / Robocop
Trailing whitespace at the end of line
@@ -124,7 +126,8 @@ | |||
Capture Page Screenshot perm_admin_custom.png | |||
Logout From RHODS Dashboard | |||
Login To RHODS Dashboard ${TEST_USER_3.USERNAME} ${TEST_USER_3.PASSWORD} ${TEST_USER_3.AUTH_TYPE} | |||
Wait for RHODS Dashboard to Load | |||
Wait for RHODS Dashboard to Load expected_page=Start a notebook server |
Check warning
Code scanning / Robocop
Keyword name '{{ keyword_name }}' does not follow case convention
@@ -139,7 +142,8 @@ | |||
Capture Page Screenshot perm_admin_std.png | |||
Logout From RHODS Dashboard | |||
Login To RHODS Dashboard ${TEST_USER_4.USERNAME} ${TEST_USER_4.PASSWORD} ${TEST_USER_4.AUTH_TYPE} | |||
Wait for RHODS Dashboard to Load | |||
Wait for RHODS Dashboard to Load expected_page=Start a notebook server |
Check warning
Code scanning / Robocop
Keyword name '{{ keyword_name }}' does not follow case convention
Open Browser ${dashboard_url} browser=${browser} options=${browser_options} | ||
Login To RHODS Dashboard ${ocp_user_name} ${ocp_user_pw} ${ocp_user_auth_type} | ||
Wait for RHODS Dashboard to Load | ||
Wait for RHODS Dashboard to Load expected_page=${expected_page} |
Check warning
Code scanning / Robocop
Keyword name '{{ keyword_name }}' does not follow case convention
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
Kudos, SonarCloud Quality Gate passed!
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
we've notice some rare failures in waiting until the dashboard is loaded (the RHODS log was loaded but the rest of the page like cards were not).
The PR is adding 2 fixes: