harbor/tests/testcases/Group9-Content-trust/9-05-DB-user-delete-signed-images.md
2017-04-14 14:50:51 +08:00

32 lines
738 B
Markdown

Test 9-05 User delete signed images(DB mode)
=======
# Purpose:
To verify whether user can delete signed images.
# References:
User guide
# Environment:
* This test requires one Harbor instance is running and avialable.
* A Linux host with Docker CLI(Docker client) installed.
# Test Steps:
1. Login UI and create a project.
2. On a Docker client,follow [Set up notary](../../../docs/use_notary.md) to set up notary and login Harbor.
3. Push an image to project created in step1.
4. Delete the pushed image.
5. Delete notary tag according to message from UI in step4.
6. Delete the image again.
# Expected Outcome:
* In step4, image cannot be deleted.
* In step6, image can be deleted.
# Possible Problems:
None