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

Bump to RF7 #1168

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft
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
8 changes: 4 additions & 4 deletions ods_ci/tests/Resources/Page/LoginPage.robot
Original file line number Diff line number Diff line change
Expand Up @@ -8,23 +8,23 @@ Library JupyterLibrary
Is ${service_account_name} Service Account Authorization Required
${title} = Get Title
${result} = Run Keyword And Return Status Should Start With ${title} Authorize service account ${service_account_name}
[Return] ${result}
RETURN ${result}

Does Login Require Authentication Type
${authentication_required} = Run Keyword and Return Status Page Should Contain Log in with
[Return] ${authentication_required}
RETURN ${authentication_required}

Is OpenShift OAuth Login Prompt Visible
${login_prompt_visible} = Run Keyword and Return Status Page Should Contain Log in with
${oauth_login} = Run Keyword and Return Status Page Should Contain oauth
${result} = Evaluate ${login_prompt_visible} and ${oauth_login}
[Return] ${result}
RETURN ${result}

Is OpenShift Login Visible
${login_prompt_visible} = Run Keyword and Return Status Page Should Contain Log in with
IF ${login_prompt_visible} RETURN True
${login_prompt_visible} = Run Keyword and Return Status Page Should Contain Log in to your account
[Return] ${login_prompt_visible}
RETURN ${login_prompt_visible}

Select Login Authentication Type
[Arguments] ${auth_type}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -159,4 +159,4 @@
${s3_endpoint} get element attribute ${S3_ENDPOINT_DC_INPUT_XP} value
${s3_region} get element attribute ${S3_REGION_DC_INPUT_XP} value
${s3_bucket} get element attribute ${S3_BUCKET_DC_INPUT_XP} value
[return] ${s3_name} ${s3_key} ${s3_secret} ${s3_endpoint} ${s3_region} ${s3_bucket}
RETURN ${s3_name} ${s3_key} ${s3_secret} ${s3_endpoint} ${s3_region} ${s3_bucket}
Dismissed Show dismissed Hide dismissed
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ Is Data Science Projects Page Open
[Documentation] Checks if Data Science Projects home page is open. Returns TRUE or FALSE
Close Generic Modal If Present
${page_open}= Run Keyword And Return Status Page Should Contain Element ${DS_PROJECT_XP}
[Return] ${page_open}
RETURN ${page_open}

Open Data Science Project Details Page
[Documentation] Verifies submenu Settings > "Data Science Projects" is visible
Expand Down Expand Up @@ -78,7 +78,7 @@ Is Data Science Project Details Page Open
[Arguments] ${project_title}
${page_open}= Run Keyword And Return Status
... SeleniumLibrary.Page Should Contain Element xpath=//h1[contains(text(),"${project_title}")]
[Return] ${page_open}
RETURN ${page_open}

Wait Until Project Is Open
[Documentation] Waits until a DS Project Details page is laoded
Expand Down Expand Up @@ -151,7 +151,7 @@ Get Openshift Namespace From Data Science Project
[Arguments] ${project_title}
${rc} ${k8s_name}= Run And Return Rc And Output oc get projects -o json | jq '.items[] | select((.metadata.annotations."openshift.io/display-name" != null) and (.metadata.labels."opendatahub.io/dashboard"=="true") and (.metadata.annotations."openshift.io/display-name"=="${project_title}")) | .metadata.name' # robocop: disable
${k8s_name}= Replace String ${k8s_name} " ${EMPTY}
[Return] ${k8s_name}
RETURN ${k8s_name}

Delete Data Science Projects From CLI
[Documentation] Deletes the Openshift Projects using OpenshiftLibrary.
Expand Down Expand Up @@ -285,7 +285,7 @@ Get All Displayed Projects
${name}= Get Text ${element}
Append To List ${projects_names} ${name}
END
[Return] ${projects_names}
RETURN ${projects_names}

Number Of Displayed Projects Should Be
[Documentation] Checks the number the DS projects visible in the DS Projects home page is expected
Expand Down
Loading
Loading