mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-23 02:35:17 +01:00
Add retry and wait for keyword <View Repo Scan Details>, Jenkins chart CI failed at 1 test case in rare occasion, the reason is lacking of wait and retry to wait. (#7466)
Signed-off-by: danfengliu <danfengl@vmware.com>
This commit is contained in:
parent
33462da9c9
commit
6b9584a71f
@ -18,22 +18,18 @@ Resource ../../resources/Util.robot
|
||||
|
||||
*** Keywords ***
|
||||
View Repo Scan Details
|
||||
Click Element xpath=${first_repo_xpath}
|
||||
Sleep 2
|
||||
Retry Element Click xpath=${first_repo_xpath}
|
||||
Capture Page Screenshot viewcve1.png
|
||||
Wait Until Page Contains unknown
|
||||
Wait Until Page Contains high
|
||||
Wait Until Page Contains medium
|
||||
Page Should Contain CVE
|
||||
Sleep 2
|
||||
Click Element xpath=${build_history_btn}
|
||||
Sleep 1
|
||||
Page Should Contain Element xpath=${build_history_data}
|
||||
Retry Wait Until Page Contains unknown
|
||||
Retry Wait Until Page Contains high
|
||||
Retry Wait Until Page Contains medium
|
||||
Retry Wait Until Page Contains CVE
|
||||
Retry Element Click xpath=${build_history_btn}
|
||||
Retry Wait Until Page Contains Element xpath=${build_history_data}
|
||||
|
||||
View Scan Error Log
|
||||
Page Should Contain View Log
|
||||
Click Element xpath=${view_log_xpath}
|
||||
Sleep 1
|
||||
Retry Wait Until Page Contains View Log
|
||||
Retry Element Click xpath=${view_log_xpath}
|
||||
Capture Page Screenshot viewlog.png
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user