mirror of
https://github.com/goharbor/harbor.git
synced 2024-10-31 23:59:32 +01:00
Refect keyword of Go Into Reop
Signed-off-by: danfengliu <danfengl@vmware.com>
This commit is contained in:
parent
9755d879db
commit
b79a251918
@ -179,8 +179,14 @@ Go Into Repo
|
||||
[Arguments] ${repoName}
|
||||
${repo_name_element}= Set Variable xpath=//clr-dg-cell[contains(.,'${repoName}')]/a
|
||||
Retry Element Click ${repo_search_icon}
|
||||
Retry Text Input ${repo_search_input} ${repoName}
|
||||
Retry Double Keywords When Error Retry Element Click ${repo_name_element} Page Should Not Contain Element ${repo_name_element}
|
||||
:For ${n} IN RANGE 1 10
|
||||
\ Retry Clear Element Text ${repo_search_input}
|
||||
\ Retry Text Input ${repo_search_input} ${repoName}
|
||||
\ ${out} Run Keyword And Ignore Error Retry Wait Until Page Contains Element ${repo_name_element}
|
||||
\ Exit For Loop If '${out[0]}'=='PASS'
|
||||
\ Capture Page Screenshot gointo_${repoName}.png
|
||||
\ Sleep 2
|
||||
Retry Double Keywords When Error Retry Element Click ${repo_name_element} Retry Wait Until Page Not Contains Element ${repo_name_element}
|
||||
Retry Wait Element ${tag_table_column_pull_command}
|
||||
Retry Wait Element ${tag_images_btn}
|
||||
Capture Page Screenshot gointo_${repoName}.png
|
||||
|
Loading…
Reference in New Issue
Block a user