mirror of
https://github.com/goharbor/harbor.git
synced 2025-02-02 04:51:22 +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
|
#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
|
[Arguments] ${ip} ${user} ${pwd} ${project} ${image} ${tag} ${tag1}=latest
|
||||||
Log To Console \nRunning docker push ${image}...
|
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}
|
Log ${output}
|
||||||
Should Be Equal As Integers ${rc} 0
|
Should Be Equal As Integers ${rc} 0
|
||||||
${rc} ${output}= Run And Return Rc And Output docker login -u ${user} -p ${pwd} ${ip}
|
${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
|
Init Chrome Driver
|
||||||
${d}= Get Current Date result_format=%m%s
|
${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
|
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}
|
Go Into Project project${d}
|
||||||
Sleep 2
|
Sleep 2
|
||||||
|
@ -147,7 +147,6 @@ Test Case - Proj Replication Jobs Log View
|
|||||||
Filter Rule rule${d}
|
Filter Rule rule${d}
|
||||||
Select Rule rule${d}
|
Select Rule rule${d}
|
||||||
Wait Until Page Contains transfer
|
Wait Until Page Contains transfer
|
||||||
Stop Jobs #temp disable
|
Wait Until Page Contains error
|
||||||
Wait Until Page Contains stopped
|
|
||||||
View Job Log busybox
|
View Job Log busybox
|
||||||
Close Browser
|
Close Browser
|
||||||
|
Loading…
Reference in New Issue
Block a user