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

Add support to open also ODH via application list #1319

Merged
merged 2 commits into from
Mar 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
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
20 changes: 13 additions & 7 deletions ods_ci/tests/Resources/Page/ODH/JupyterHub/LaunchJupyterHub.robot
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
*** Settings ***
Library JupyterLibrary


*** Variables ***
# This variable is overriden for ODH runs via 'ods_ci/test-variables-odh-overwrite.yml'
${ODH_DASHBOARD_PROJECT_NAME}= Red Hat OpenShift AI


*** Keywords ***
Launch Jupyterhub via Routes
[Documentation] This keyword only works with kubeadmin or accounts that are
Expand All @@ -20,10 +26,10 @@ Launch Jupyterhub via Routes
Sleep 10s
Switch Window JupyterHub

Launch RHODS Via OCP Application Launcher
[Documentation] Uses the Application Launcher in the OCP Web UI to open the
... RHODS Dashboard page.
Click Element xpath://button[@aria-label="Application launcher"]
Wait Until Page Contains Element xpath://span[.="Red Hat OpenShift AI"]
Click Element xpath://span[.="Red Hat OpenShift AI"]/..
Switch Window NEW
Launch RHOAI Via OCP Application Launcher
[Documentation] Uses the Application Launcher in the OCP Web UI to open the
... RHOAI Dashboard page.
Click Element xpath://button[@aria-label="Application launcher"]
Wait Until Page Contains Element xpath://span[.="${ODH_DASHBOARD_PROJECT_NAME}"]
Click Element xpath://span[.="${ODH_DASHBOARD_PROJECT_NAME}"]/..
Switch Window NEW
2 changes: 1 addition & 1 deletion ods_ci/tests/Tests/500__jupyterhub/test.robot
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ Can Launch Jupyterhub
... Tier1
... ODS-935
#This keyword will work with accounts that are not cluster admins.
Launch RHODS Via OCP Application Launcher
Launch RHOAI Via OCP Application Launcher
Login To RHODS Dashboard ${TEST_USER.USERNAME} ${TEST_USER.PASSWORD} ${TEST_USER.AUTH_TYPE}
Wait For RHODS Dashboard To Load
Launch Jupyter From RHODS Dashboard Link
Expand Down
Loading