Merge pull request #9615 from danfengliu/self-registraton-bug

fixed bug of enable self reg, explore should be opened and navigate to harbor log in page
This commit is contained in:
danfengliu 2019-10-29 10:28:45 +08:00 committed by GitHub
commit eb8d47975c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 1 deletions

View File

@ -499,7 +499,7 @@ Test Case - Project Storage Quotas Dispaly And Control
${storage_quota_unit}= Set Variable MB ${storage_quota_unit}= Set Variable MB
${image_a}= Set Variable redis ${image_a}= Set Variable redis
${image_b}= Set Variable logstash ${image_b}= Set Variable logstash
${image_a_size}= Set Variable 34.14MB ${image_a_size}= Set Variable 34.16MB
${image_b_size}= Set Variable 321.03MB ${image_b_size}= Set Variable 321.03MB
${image_a_ver}= Set Variable 5.0 ${image_a_ver}= Set Variable 5.0
${image_b_ver}= Set Variable 6.8.3 ${image_b_ver}= Set Variable 6.8.3

View File

@ -26,7 +26,13 @@ ${HARBOR_ADMIN} admin
Test Case - Create An New User Test Case - Create An New User
Init Chrome Driver Init Chrome Driver
${d}= Get Current Date result_format=%m%s ${d}= Get Current Date result_format=%m%s
Sign In Harbor ${HARBOR_URL} ${HARBOR_ADMIN} ${HARBOR_PASSWORD}
Switch To Configure
Self Reg Should Be Disabled
Sleep 1
Enable Self Reg Enable Self Reg
Logout Harbor
Create An New User url=${HARBOR_URL} username=tester${d} email=tester${d}@vmware.com realname=harbortest newPassword=Test1@34 comment=harbortest Create An New User url=${HARBOR_URL} username=tester${d} email=tester${d}@vmware.com realname=harbortest newPassword=Test1@34 comment=harbortest
Close Browser Close Browser