mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-29 21:54:13 +01:00
Add retry for prject list display
Signed-off-by: Danfeng Liu (c) <danfengl@vmware.com>
This commit is contained in:
parent
e2bab855ac
commit
d02f15fb0f
@ -39,9 +39,17 @@ Filter Object
|
|||||||
Retry Element Click xpath=//hbr-filter//clr-icon
|
Retry Element Click xpath=//hbr-filter//clr-icon
|
||||||
${element}= Set Variable xpath=//hbr-filter//input
|
${element}= Set Variable xpath=//hbr-filter//input
|
||||||
Wait Until Element Is Visible And Enabled ${element}
|
Wait Until Element Is Visible And Enabled ${element}
|
||||||
Input Text ${element} ${kw}
|
Retry Clear Element Text ${element}
|
||||||
|
Retry Text Input ${element} ${kw}
|
||||||
Sleep 3
|
Sleep 3
|
||||||
|
|
||||||
|
Filter Project
|
||||||
|
#Filter project repo user tag.
|
||||||
|
[Arguments] ${kw}
|
||||||
|
Retry Element Click ${log_xpath}
|
||||||
|
Retry Element Click ${projects_xpath}
|
||||||
|
Filter Object ${kw}
|
||||||
|
|
||||||
Select Object
|
Select Object
|
||||||
#select single element such as user project repo tag
|
#select single element such as user project repo tag
|
||||||
[Arguments] ${obj}
|
[Arguments] ${obj}
|
||||||
|
@ -117,8 +117,7 @@ Test Case - Project Level Policy Public
|
|||||||
# Here logout and login to try avoid a bug only in autotest
|
# Here logout and login to try avoid a bug only in autotest
|
||||||
Logout Harbor
|
Logout Harbor
|
||||||
Sign In Harbor ${HARBOR_URL} ${HARBOR_ADMIN} ${HARBOR_PASSWORD}
|
Sign In Harbor ${HARBOR_URL} ${HARBOR_ADMIN} ${HARBOR_PASSWORD}
|
||||||
Filter Object project${d}
|
Retry Double Keywords When Error Filter Project project${d} Project Should Be Public project${d}
|
||||||
Project Should Be Public project${d}
|
|
||||||
Close Browser
|
Close Browser
|
||||||
|
|
||||||
Test Case - Verify Download Ca Link
|
Test Case - Verify Download Ca Link
|
||||||
|
Loading…
Reference in New Issue
Block a user