mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-03 01:00:08 +01:00
3b8a2890f9
1. Upgrade robot-framework to 3.1 and Selenium library to 4.4.0. 2. Fix a registry issue for clear filter text input. Signed-off-by: danfengliu <danfengl@vmware.com>
18 lines
750 B
Plaintext
18 lines
750 B
Plaintext
Documentation This resource provides any keywords related to the Harbor private registry appliance
|
|
Resource ../../resources/Util.robot
|
|
|
|
*** Keywords ***
|
|
|
|
Copy Image
|
|
[Arguments] ${tag} ${projectname} ${reponame}
|
|
Retry Element Click xpath=//clr-dg-row[contains(.,'${tag}')]//label
|
|
Sleep 1
|
|
Retry Element Click ${artifact_action_xpath}
|
|
Sleep 1
|
|
Retry Element Click ${artifact_action_copy_xpath}
|
|
Sleep 1
|
|
#input necessary info
|
|
Retry Text Input xpath=${copy_project_name_xpath} ${projectname}
|
|
Retry Text Input xpath=${copy_repo_name_xpath} ${reponame}
|
|
Retry Double Keywords When Error Retry Element Click ${confirm_btn} Retry Wait Until Page Not Contains Element ${confirm_btn}
|