Skip to content
This repository has been archived by the owner on Jan 31, 2024. It is now read-only.

Commit

Permalink
Add workaround for No Components Found
Browse files Browse the repository at this point in the history
  • Loading branch information
LaVLaS committed Sep 26, 2022
1 parent 9288d74 commit d90e61f
Showing 1 changed file with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -68,11 +68,18 @@ Begin ODH Web Test
${authorization_required} = Is Service Account Authorization Required
Run Keyword If ${authorization_required} Authorize jupyterhub service account
Wait for ODH Dashboard to Load

${no_components_found} = Run Keyword And Return Status Page Should Not Contain Element xpath://h5[.="No Components Found"]
# Workaround when no components found on initial page load
IF not ${no_components_found}
Capture Page Screenshot no-components-found-screenshot.png
Reload Page
END

Launch Jupyter From RHODS Dashboard Link
Login To Jupyterhub ${TEST_USER.USERNAME} ${TEST_USER.PASSWORD} ${TEST_USER.AUTH_TYPE}
Fix Spawner Status
Go To ${ODH_DASHBOARD_URL}
Capture Page Screenshot pre-setup-screenshot.png


Verify Notebook Name And Image Tag
Expand Down

0 comments on commit d90e61f

Please sign in to comment.