mirror of
https://github.com/goharbor/harbor.git
synced 2024-09-29 22:07:32 +02:00
Merge pull request #15566 from YangJiao0817/add-harbor-api-testcase
Add Go To Harbor Api Page TestCase
This commit is contained in:
commit
04cd65d179
@ -436,3 +436,11 @@ Replication With Flattening
|
|||||||
END
|
END
|
||||||
Log All ${target_images}
|
Log All ${target_images}
|
||||||
Body Of Replication Of Pull Images from Registry To Self harbor https://${src_endpoint} ${HARBOR_ADMIN} ${HARBOR_PASSWORD} ${src_project}/** ${null} N ${flattening_type} @{target_images}
|
Body Of Replication Of Pull Images from Registry To Self harbor https://${src_endpoint} ${HARBOR_ADMIN} ${HARBOR_PASSWORD} ${src_project}/** ${null} N ${flattening_type} @{target_images}
|
||||||
|
|
||||||
|
Check Harbor Api Page
|
||||||
|
Retry Link Click //a[contains(.,'Harbor API V2.0')]
|
||||||
|
Sleep 3
|
||||||
|
Switch Window locator=NEW
|
||||||
|
${Title}= Get Title
|
||||||
|
Should Be Equal ${Title} Harbor Swagger
|
||||||
|
Retry Wait Element xpath=//h2[contains(.,"Harbor API")]
|
||||||
|
@ -819,3 +819,10 @@ Test Case - System Robot Account
|
|||||||
${name}= Create A New System Robot Account project_permission_list=${project_permission_list}
|
${name}= Create A New System Robot Account project_permission_list=${project_permission_list}
|
||||||
System Robot Account Exist ${name} ${project_count}
|
System Robot Account Exist ${name} ${project_count}
|
||||||
Close Browser
|
Close Browser
|
||||||
|
|
||||||
|
Test Case - Go To Harbor Api Page
|
||||||
|
[Tags] go_to_harbor_api_page
|
||||||
|
Init Chrome Driver
|
||||||
|
Sign In Harbor ${HARBOR_URL} ${HARBOR_ADMIN} ${HARBOR_PASSWORD}
|
||||||
|
Retry Keyword N Times When Error 4 Check Harbor Api Page
|
||||||
|
Close Browser
|
||||||
|
Loading…
Reference in New Issue
Block a user