harbor/tests/robot-cases/Group0-BAT/API_LDAP.robot
danfengliu 4bc7444602 Add UI test for LDAP admin group dn setting
1. Verify LDAP group admin in UI;
2. Update LDAP group admin need to verify the AdminRoleInAuth, get current user will return this field as true.

Signed-off-by: danfengliu <danfengl@vmware.com>
2020-10-14 11:05:09 +08:00

22 lines
620 B
Plaintext

*** Settings ***
Documentation Harbor BATs
Resource ../../resources/APITest-Util.robot
Library OperatingSystem
Library String
Library Collections
Library requests
Library Process
Default Tags API
*** Test Cases ***
Test Case - LDAP Group Admin Role
[Tags] group_admin
Harbor API Test ./tests/apitests/python/test_ldap_admin_role.py
Test Case - LDAP Group User Group
[Tags] group_user
Harbor API Test ./tests/apitests/python/test_user_group.py
Test Case - Run LDAP Group Related API Test
[Tags] assign_role
Harbor API Test ./tests/apitests/python/test_assign_role_to_ldap_group.py