mirror of
https://github.com/goharbor/harbor.git
synced 2024-12-04 16:13:35 +01:00
30 lines
1.3 KiB
Plaintext
30 lines
1.3 KiB
Plaintext
|
// Copyright (c) 2017 VMware, Inc. All Rights Reserved.
|
||
|
//
|
||
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
||
|
// you may not use this file except in compliance with the License.
|
||
|
// You may obtain a copy of the License at
|
||
|
//
|
||
|
// http://www.apache.org/licenses/LICENSE-2.0
|
||
|
//
|
||
|
// Unless required by applicable law or agreed to in writing, software
|
||
|
// distributed under the License is distributed on an "AS IS" BASIS,
|
||
|
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||
|
// See the License for the specific language governing permissions and
|
||
|
// limitations under the License.
|
||
|
|
||
|
*** Settings ***
|
||
|
Documentation Harbor BATs
|
||
|
Resource ../../resources/Util.robot
|
||
|
Default Tags Bundle
|
||
|
|
||
|
*** Test Cases ***
|
||
|
Test Case - Create An Replication Rule New Endpoint
|
||
|
Init Chrome Driver
|
||
|
${d}= Get current date result_format=%m%s
|
||
|
Sign In Harbor ${HARBOR_URL} %{HARBOR_ADMIN} %{HARBOR_PASSWORD}
|
||
|
Create An New Project project${d}
|
||
|
Go Into Project project${d}
|
||
|
Switch To Replication
|
||
|
Create An New Rule With New Endpoint policy_name=test_policy_${d} policy_description=test_description destination_name=test_destination_name_${d} destination_url=test_destination_url_${d} destination_username=test_destination_username destination_password=test_destination_password
|
||
|
Close Browser
|