Skip to content

Commit

Permalink
Rebase
Browse files Browse the repository at this point in the history
Signed-off-by: manosnoam <[email protected]>
  • Loading branch information
manosnoam committed Mar 21, 2024
1 parent 9736962 commit 5d10308
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 23 deletions.
4 changes: 2 additions & 2 deletions ods_ci/tests/Resources/Common.robot
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ CSS Property Value Should Be
[Documentation] Compare the actual CSS property value with the expected one
[Arguments] ${locator} ${property} ${exp_value} ${operation}=equal
${el_text}= Get Text xpath:${locator}
Log Text of the target element: ${el_text}//div[contains(@class,'odh-markdown-view')]//p
Log Text of the target element: ${el_text}
${actual_value}= Get CSS Property Value xpath:${locator} ${property}
IF $operation == "contains"
Run Keyword And Continue On Failure Should Contain ${actual_value} ${exp_value}
Expand Down Expand Up @@ -316,7 +316,7 @@ Get Sub Domain Of Current URL
${domain} = Fetch From Left string=${current_url} marker=.
RETURN ${domain}

Is Current Sub Domain Start With
Does Current Sub Domain Start With
[Documentation] Check if current sub-domain start with the given String
... and returns True/False
[Arguments] ${url}
Expand Down
2 changes: 1 addition & 1 deletion ods_ci/tests/Resources/Page/LoginPage.robot
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ Login To Openshift
${expected_text_list} = Create List Log in with Administrator Developer Data Science Projects
Wait Until Page Contains A String In List ${expected_text_list}
# Return if page is not the Login page (no login required)
${should_login} = Is Current Sub Domain Start With https://oauth
${should_login} = Does Current Sub Domain Start With https://oauth
IF not ${should_login} RETURN
# If here we need to login
Wait Until Element is Visible xpath://div[@class="pf-c-login"] timeout=10s
Expand Down
2 changes: 1 addition & 1 deletion ods_ci/tests/Resources/Page/OCPDashboard/OCPMenu.robot
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ Switch To Developer Perspective
Maybe Skip Tour
[Documentation] If we are in the openshift web console, maybe skip the first time
... tour popup given to users, otherwise RETURN.
${should_cont} = Is Current Sub Domain Start With https://console-openshift-console
${should_cont} = Does Current Sub Domain Start With https://console-openshift-console

Check warning

Code scanning / Robocop

The assignment sign is not consistent within the file. Expected '{{ expected_sign }}' but got '{{ actual_sign }}' instead Warning test

The assignment sign is not consistent within the file. Expected '=' but got ' =' instead
IF ${should_cont}==False
RETURN
END
Expand Down
19 changes: 0 additions & 19 deletions ~/.kube/config

This file was deleted.

0 comments on commit 5d10308

Please sign in to comment.