mirror of
https://github.com/goharbor/harbor.git
synced 2024-12-11 19:37:18 +01:00
1.1 KiB
1.1 KiB
Test 1-08 - Admin User Log In and Log Out (DB Mode or LDAP mode)
Purpose:
To verify that an admin user can log in and log out.
References:
User guide
Environment:
- This test requires that a Harbor instance is running and available.
- Harbor is set to authenticate against a local database or LDAP server.
- A linux host with Docker CLI installed (Docker client).
Test Steps:
- The admin user logs in to the UI by username.
- The admin user logs out from the UI.
- Use the incorrect password of the admin user to log in to the UI and check the error message.
- On a Docker client host, use
docker login <harbor_host>
command to verify the admin user can log in. - Use
docker login <harbor_host>
command to log in with incorrect password.
Expected Outcome:
- The admin user can log in/out successfully in Step 1 & 2.
- The error message in Step 3 should not show which input value is incorrect. It should only display the username and password combination is incorrect.
- Docker client can log in in Step 4.
- Docker client fails to log in in Step 5.
Possible Problems:
None