harbor/tests/testcases/Group7-Replication/7-01-Proj-replication-rules-add.md

35 lines
982 B
Markdown
Raw Normal View History

2016-10-31 05:13:13 +01:00
Test 7-01 - Create Replication Policy
=======
# Purpose:
To verify that admin user can create a replication rule.
2016-10-31 05:13:13 +01:00
# References:
2016-10-31 05:13:13 +01:00
User guide
# Environment:
* This test requires that at least two Harbor instances are running and available.
2016-10-31 05:13:13 +01:00
# Test Steps:
1. Login UI as admin user.
2. In `Administration->Replications` page, create a new rule and fill in name and description.
3. Choose a project by clicking the icon on the right of `Projects`.
4. Add repository and tag filter.
5. Choose an endpoint, create a new one if no endpoint exists.
6. Select a triggering condition: Immediate/Manual/Scheduled, check/uncheck the `Delete remote images when locally deleted` if choosing `Immediate`.
7. Check/uncheck the option `Replicate existing images immediately`.
8. Save the rule.
Repeat steps 1-8 under `Projects->Project_Name->Replication` page.
2016-10-31 05:13:13 +01:00
# Expected Outcome:
* In step8, a rule will be added.
2016-10-31 05:13:13 +01:00
# Possible Problems:
None