mirror of
https://github.com/goharbor/harbor.git
synced 2025-01-21 23:21:26 +01:00
Fix up keyword and test case (#4629)
Fix up keyword: push image with tag Fix up case: Project Admin Add Labels To Repo Fix up case: Proj Replication Jobs Log View
This commit is contained in:
parent
0cc63c0616
commit
75e6b5d91c
@ -54,7 +54,7 @@ Push Image With Tag
|
||||
#tag1 is tag of image on docker hub,default latest,use a version existing if you do not want to use latest
|
||||
[Arguments] ${ip} ${user} ${pwd} ${project} ${image} ${tag} ${tag1}=latest
|
||||
Log To Console \nRunning docker push ${image}...
|
||||
${rc} ${output}= Run And Return Rc docker pull ${image}:${tag1}
|
||||
${rc} ${output}= Run And Return Rc And Output docker pull ${image}:${tag1}
|
||||
Log ${output}
|
||||
Should Be Equal As Integers ${rc} 0
|
||||
${rc} ${output}= Run And Return Rc And Output docker login -u ${user} -p ${pwd} ${ip}
|
||||
|
@ -316,7 +316,7 @@ TestCase - Project Admin Add Labels To Repo
|
||||
Init Chrome Driver
|
||||
${d}= Get Current Date result_format=%m%s
|
||||
Create An New Project With New User url=${HARBOR_URL} username=test${d} email=test${d}@vmware.com realname=test${d} newPassword=Test1@34 comment=harbor projectname=project${d} public=false
|
||||
Push image ip=${ip} user=test${d} pwd=Test1@34 project=project${d} vmware/photon:1.0
|
||||
Push Image With Tag ${ip} test${d} Test1@34 project${d} vmware/photon 1.0 1.0
|
||||
|
||||
Go Into Project project${d}
|
||||
Sleep 2
|
||||
|
@ -147,7 +147,6 @@ Test Case - Proj Replication Jobs Log View
|
||||
Filter Rule rule${d}
|
||||
Select Rule rule${d}
|
||||
Wait Until Page Contains transfer
|
||||
Stop Jobs #temp disable
|
||||
Wait Until Page Contains stopped
|
||||
Wait Until Page Contains error
|
||||
View Job Log busybox
|
||||
Close Browser
|
||||
|
Loading…
Reference in New Issue
Block a user