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:
sigsbee 2018-04-12 11:42:54 +08:00 committed by GitHub
parent 0cc63c0616
commit 75e6b5d91c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 4 deletions

View File

@ -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}

View File

@ -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

View File

@ -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