Fix up ldap testcase (#4548)

This commit is contained in:
sigsbee 2018-04-02 12:08:04 +08:00 committed by GitHub
parent 53cea404fd
commit 8b32f56b64
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 3 deletions

View File

@ -30,6 +30,9 @@ cn: harbor_users
description: All users
member: cn=mike,ou=people,dc=example,dc=com
member: cn=mike02,ou=people,dc=example,dc=com
member: cn=mike03,ou=people,dc=example,dc=com
member: cn=mike04,ou=people,dc=example,dc=com
member: cn=mike05,ou=people,dc=example,dc=com
objectclass: groupOfNames
objectclass: top

View File

@ -55,12 +55,10 @@ Test Case - LDAP User On-borad New Member
Init Chrome Driver
${d}= Get Current Date result_format=%m%s
Sign In Harbor ${HARBOR_URL} mike03 zhu88jie
Switch To User Tag
Page Should Not Contain mike04
Back To Projects
Create An New Project project${d}
Go Into Project project${d}
Switch To Member
Page Should Not Contain mike04
Add Guest Member To Project mike04
Page Should Contain mike04
Close Browser