mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-09 04:01:14 +01:00
371fc5d6ac
* update configuration test case
943 B
943 B
Test 8-01 -Update-authentication-mode
Purpose:
To verify that an admin user can update authentication mode.
References:
User guide
Environment:
- This test requires that a Harbor instance is running and available.
- A linux host with Docker CLI installed (Docker client).
Test Steps:
NOTE: Before this test, make sure there is only admin user in the system.
- Login UI as admin user.
- In configuration page,change authentication mode from DB to LDAP or from LDAP to DB.
- Save the configuration.
- In ldap_auth mode, fill in the ldap info and click test ldap server.
- Add or sign up a user.(For LDAP, login a user)
- Change the configuration again.
Expected Outcome:
- In step2, user can change authentication mode.
- In step4, if settings are correct, test will successful.
- In step6, user cannot change authentication mode.
Possible Problems:
None