mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-26 04:05:40 +01:00
590212b485
- clair code in harbor core - clair code in frontend - clair code in robotcase Signed-off-by: DQ <dengq@vmware.com>
910 B
910 B
Test 10-06 Change scan configuration
Purpose:
To verify scan configuration can be changed correctly.
References:
User guide
Environment:
- This test requires that a Harbor instance is running and available.
- Harbor is installed with trivy enable.
- A linux host with Docker CLI installed.
Test Step
- Login harbor as admin.
- Push a image to a project.
- Click configuration.
- Click vunlerablity.
- Set scan all to none.
- Click scan now.
- Check scan now button.
- Check the image scan time.
Expected Outcome:
- Step 4 if a new installed Harbor,vulnerability not ready hit should exist.
- Step 5 schedule time input should disappear.
- Step 7 after click scan now, scan now button should be disabled.
- Step 8 scan timestamp should be the time when click scan now.
Possible Problems:
None