[Night] add case about trivy

`
Signed-off-by: Yogi_Wang <yawang@vmware.com>
This commit is contained in:
Yogi_Wang 2020-04-01 15:37:43 +08:00
parent eebcc8fc9a
commit 24b57715ab
3 changed files with 13 additions and 14 deletions

View File

@ -5,7 +5,7 @@
.rightPos{ .rightPos{
position: absolute; position: absolute;
z-index: 100; z-index: 100;
right: 35px; right: 0;
margin-top: 1.25rem; margin-top: 1.25rem;
} }

View File

@ -106,7 +106,7 @@ export const USERSTATICPERMISSION = {
} }
}, },
"REPOSITORY_ARTIFACT_LABEL": { "REPOSITORY_ARTIFACT_LABEL": {
'KEY': 'repository-artifact-label', 'KEY': 'artifact-label',
'VALUE': { 'VALUE': {
"CREATE": "create", "CREATE": "create",
"DELETE": "delete", "DELETE": "delete",

View File

@ -59,18 +59,17 @@ Test Case - Scan As An Unprivileged User
Select Object latest Select Object latest
Scan Is Disabled Scan Is Disabled
Close Browser Close Browser
# # chose a emptyVul repo # chose a emptyVul repo
# Test Case - Scan Image With Empty Vul Test Case - Scan Image With Empty Vul
# Init Chrome Driver Init Chrome Driver
# Push Image ${ip} ${HARBOR_ADMIN} ${HARBOR_PASSWORD} library vmware/photon:1.0 Push Image ${ip} ${HARBOR_ADMIN} ${HARBOR_PASSWORD} library photon:2.0_scan
# Sign In Harbor ${HARBOR_URL} ${HARBOR_ADMIN} ${HARBOR_PASSWORD} Sign In Harbor ${HARBOR_URL} ${HARBOR_ADMIN} ${HARBOR_PASSWORD}
# Go Into Project library Go Into Project library
# Go Into Repo vmware/photon Go Into Repo library/photon
# # Go Into Repo busybox Scan Repo 2.0 Succeed
# Scan Repo 1.0 Succeed Move To Summary Chart
# Move To Summary Chart Wait Until Page Contains No vulnerability
# Wait Until Page Contains No vulnerability Close Browser
# Close Browser
Test Case - Manual Scan All Test Case - Manual Scan All
Init Chrome Driver Init Chrome Driver
Push Image ${ip} ${HARBOR_ADMIN} ${HARBOR_PASSWORD} library redis Push Image ${ip} ${HARBOR_ADMIN} ${HARBOR_PASSWORD} library redis