mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-09 12:10:08 +01:00
1.2 KiB
1.2 KiB
Test 2-04 - User View Projects (DB Mode)
Purpose:
To verify that a non-admin user can view projects when users are managed locally by Harbor (DB mode).
References:
User guide
Environment:
- This test requires that a Harbor instance is running and available.
- Harbor is set to authenticate against a local database. ( auth_mode is set to db_auth .) The user data is stored in a local database.
- There is at least a non-admin user.
- The user has at least 3 private projects.
- The registry has at least 3 public repositories.
Test Steps:
NOTE:
In below test, user A is non-admin user. User A should be replaced by a longer and meaningful name.
- Log in to UI as user A (non-admin).
- Create at least 3 projects if he/she has less than 3 projects.
- Switch a few times between "My Projects" and "Public projects" tab, view listed projects and click to check details of images.
- Check logs of projects in "My Projects".
Expected Outcome:
- Step 3, verify the information listed of projects are correctly displayed, such as creation time and role.
- Step 4, should see logs of the project.
Possible Problems:
None