mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-22 18:25:56 +01:00
Add Go To Harbor Api Page TestCase
Signed-off-by: YangJiao <jiaoya@vmware.com>
This commit is contained in:
parent
ecc1a04c92
commit
5533015fd1
@ -436,3 +436,11 @@ Replication With Flattening
|
||||
END
|
||||
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}
|
||||
|
||||
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}
|
||||
System Robot Account Exist ${name} ${project_count}
|
||||
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