Update robot case to debug the issue got in nightly test (#5576)

This commit updates the "Sign In Harbor" robot case by adding debug information when it failed
This commit is contained in:
Wenkai Yin 2018-08-10 13:53:48 +08:00 committed by Yan
parent 63b64527b5
commit 0561280411

View File

@ -26,6 +26,7 @@ Sign In Harbor
Sleep 5
${title}= Get Title
Log To Console ${title}
Run Keyword If "${title}" != "Harbor" Capture Screenshot And Source ELSE Log The title is Harbor
Should Be Equal ${title} Harbor
Sleep 2
Input Text login_username ${user}
@ -36,6 +37,10 @@ Sign In Harbor
Log To Console ${user}
Wait Until Page Contains ${user}
Capture Screenshot And Source
Capture Page Screenshot
Log Source
Sign Up Should Not Display
Page Should Not Contain Element xpath=${sign_up_button_xpath}