mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-09 04:01:14 +01:00
1.4 KiB
1.4 KiB
Test 7-12 Endpoints endpoints add
Purpose
To verify admin user can add an endpoint
References:
User guide
Environments:
- This test requires at least two Harbor instance is running and available.
Test Steps:
- Login UI as admin user.
- In
Administration->Registries
page, add an endpoint with valid URL(HTTP), username and password, click test connection to test connection and save the endpoint. - In
Administration->Registries
page, add an endpoint with invalid URL(HTTP), username or password, click test connection to test connection and save the endpoint. - In
Administration->Registries
page, add an endpoint with valid URL(HTTPS with self-signed certificate), username and password, select theVerify Remote Cert
checkbox and click test connection to test connection and save the endpoint. - In
Administration->Registries
page, add an endpoint with valid URL(HTTPS with self-signed certificate), username and password, uncheck theVerify Remote Cert
checkbox and click test connection to test connection and save the endpoint.
Expected Outcome:
- In step2 if endpoint is alive,test connection will successful, endpoint will add success.
- In step3 test connection will fail, endpoint will add success.
- In step4 test connection will fail, endpoint will add success.
- In step5 if endpoint is alive,test connection will successful, endpoint will add success.
Possible Problem:
None