Skip to content

Commit

Permalink
Backport fix in "Is OpenShift Login Visible" kw to releases/2.11.0 (r…
Browse files Browse the repository at this point in the history
…ed-hat-data-services#1906)

Backport fix in "Is OpenShift Login Visible" kw

Signed-off-by: Jorge Garcia Oncins <jgarciao@redhat.com>
  • Loading branch information
jgarciao authored Oct 9, 2024
1 parent 3d48650 commit 978fd4c
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions ods_ci/tests/Resources/Page/LoginPage.robot
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,13 @@ Is OpenShift OAuth Login Prompt Visible
[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}
[Arguments] ${timeout}=15s
${login_prompt_visible} = Run Keyword And Return Status
... Wait Until Page Contains Log in with timeout=${timeout}
IF ${login_prompt_visible} RETURN ${TRUE}
${login_prompt_visible} = Run Keyword And Return Status
... Wait Until Page Contains Log in to your account timeout=${timeout}
RETURN ${login_prompt_visible}

Select Login Authentication Type
[Arguments] ${auth_type}
Expand Down

0 comments on commit 978fd4c

Please sign in to comment.