mirror of
https://github.com/goharbor/harbor.git
synced 2024-09-30 22:37:43 +02:00
add test case
Committer: myufei <myufei@vmware.com>
This commit is contained in:
parent
28b367b1cf
commit
fab4c710af
@ -0,0 +1,24 @@
|
|||||||
|
Test 7-02 - Replication delete operation
|
||||||
|
=======
|
||||||
|
|
||||||
|
# Purpose:
|
||||||
|
|
||||||
|
To verify that a delete operation can be synced.
|
||||||
|
|
||||||
|
# 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:
|
||||||
|
|
||||||
|
TBD
|
||||||
|
|
||||||
|
# Expected Outcome:
|
||||||
|
|
||||||
|
TBD
|
||||||
|
|
||||||
|
# Possible Problems:
|
||||||
|
None
|
@ -0,0 +1,24 @@
|
|||||||
|
Test 7-03 - Create Replication Policy
|
||||||
|
=======
|
||||||
|
|
||||||
|
# Purpose:
|
||||||
|
|
||||||
|
To verify that operations can be synced when a stopped rule is enabled.
|
||||||
|
|
||||||
|
# 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:
|
||||||
|
|
||||||
|
TBD
|
||||||
|
|
||||||
|
# Expected Outcome:
|
||||||
|
|
||||||
|
TBD
|
||||||
|
|
||||||
|
# Possible Problems:
|
||||||
|
None
|
@ -0,0 +1,24 @@
|
|||||||
|
Test 7-04 - Create Replication Policy
|
||||||
|
=======
|
||||||
|
|
||||||
|
# Purpose:
|
||||||
|
|
||||||
|
To verify that operations can be resynced when meet a network fail.
|
||||||
|
|
||||||
|
# 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:
|
||||||
|
|
||||||
|
TBD
|
||||||
|
|
||||||
|
# Expected Outcome:
|
||||||
|
|
||||||
|
TBD
|
||||||
|
|
||||||
|
# Possible Problems:
|
||||||
|
None
|
@ -0,0 +1,24 @@
|
|||||||
|
Test 8-01 -Update-authentication-mode
|
||||||
|
=======
|
||||||
|
|
||||||
|
# Purpose:
|
||||||
|
|
||||||
|
To verify that an admin user can update authentication mode(This will work only the first time).
|
||||||
|
|
||||||
|
# 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:
|
||||||
|
|
||||||
|
TBD
|
||||||
|
|
||||||
|
# Expected Outcome:
|
||||||
|
|
||||||
|
TBD
|
||||||
|
|
||||||
|
# Possible Problems:
|
||||||
|
None
|
@ -0,0 +1,24 @@
|
|||||||
|
Test 7-01 -Update-project-restrict
|
||||||
|
=======
|
||||||
|
|
||||||
|
# Purpose:
|
||||||
|
|
||||||
|
To verify that an admin user can update project restrict.
|
||||||
|
|
||||||
|
# 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:
|
||||||
|
|
||||||
|
TBD
|
||||||
|
|
||||||
|
# Expected Outcome:
|
||||||
|
|
||||||
|
TBD
|
||||||
|
|
||||||
|
# Possible Problems:
|
||||||
|
None
|
@ -0,0 +1,24 @@
|
|||||||
|
Test 8-03 - Update self-registration
|
||||||
|
=======
|
||||||
|
|
||||||
|
# Purpose:
|
||||||
|
|
||||||
|
To verify that an admin user can update self-registration setting.
|
||||||
|
|
||||||
|
# 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:
|
||||||
|
|
||||||
|
TBD
|
||||||
|
|
||||||
|
# Expected Outcome:
|
||||||
|
|
||||||
|
TBD
|
||||||
|
|
||||||
|
# Possible Problems:
|
||||||
|
None
|
@ -0,0 +1,24 @@
|
|||||||
|
Test 8-04 - Update-verify-remote-cert-settings
|
||||||
|
=======
|
||||||
|
|
||||||
|
# Purpose:
|
||||||
|
|
||||||
|
To verify that an admin user can update verify remote cert setting.
|
||||||
|
|
||||||
|
# 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:
|
||||||
|
|
||||||
|
TBD
|
||||||
|
|
||||||
|
# Expected Outcome:
|
||||||
|
|
||||||
|
TBD
|
||||||
|
|
||||||
|
# Possible Problems:
|
||||||
|
None
|
@ -0,0 +1,24 @@
|
|||||||
|
Test 8-05 -Update email settings
|
||||||
|
=======
|
||||||
|
|
||||||
|
# Purpose:
|
||||||
|
|
||||||
|
To verify that an admin user can update email settings.
|
||||||
|
|
||||||
|
# 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:
|
||||||
|
|
||||||
|
TBD
|
||||||
|
|
||||||
|
# Expected Outcome:
|
||||||
|
|
||||||
|
TBD
|
||||||
|
|
||||||
|
# Possible Problems:
|
||||||
|
None
|
@ -0,0 +1,24 @@
|
|||||||
|
Test 8-06 - Update token expiration
|
||||||
|
=======
|
||||||
|
|
||||||
|
# Purpose:
|
||||||
|
|
||||||
|
To verify that an admin user can update token expiration.
|
||||||
|
|
||||||
|
# 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:
|
||||||
|
|
||||||
|
TBD
|
||||||
|
|
||||||
|
# Expected Outcome:
|
||||||
|
|
||||||
|
TBD
|
||||||
|
|
||||||
|
# Possible Problems:
|
||||||
|
None
|
@ -0,0 +1,24 @@
|
|||||||
|
Test 9-01 - DB-user-sign-push-images
|
||||||
|
=======
|
||||||
|
|
||||||
|
# Purpose:
|
||||||
|
|
||||||
|
To verify that a user can sign and push images with content trust enabled.
|
||||||
|
|
||||||
|
# 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:
|
||||||
|
|
||||||
|
TBD
|
||||||
|
|
||||||
|
# Expected Outcome:
|
||||||
|
|
||||||
|
TBD
|
||||||
|
|
||||||
|
# Possible Problems:
|
||||||
|
None
|
@ -0,0 +1,24 @@
|
|||||||
|
Test 9-02 - DB-user-pull-unsigned-images
|
||||||
|
=======
|
||||||
|
|
||||||
|
# Purpose:
|
||||||
|
|
||||||
|
To verify that a user can pull unsigned images with content trust enabled.
|
||||||
|
|
||||||
|
# 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:
|
||||||
|
|
||||||
|
TBD
|
||||||
|
|
||||||
|
# Expected Outcome:
|
||||||
|
|
||||||
|
TBD
|
||||||
|
|
||||||
|
# Possible Problems:
|
||||||
|
None
|
Loading…
Reference in New Issue
Block a user