mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-04 01:30:15 +01:00
f40eb993a0
* add drone to master copyright update update update update update update build process * update * package migrator
39 lines
1.6 KiB
Plaintext
39 lines
1.6 KiB
Plaintext
# Copyright 2016-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 This resource provides any keywords related to the Harbor private registry appliance
|
|
Resource ../../resources/Util.robot
|
|
|
|
*** Variables ***
|
|
${HARBOR_VERSION} v1.1.1
|
|
|
|
*** Keywords ***
|
|
Assign User Admin
|
|
[Arguments] ${user}
|
|
Click Element xpath=//clr-main-container//harbor-user//hbr-filter//clr-icon
|
|
Input Text xpath=//harbor-shell/clr-main-container//harbor-user//hbr-filter//input ${user}
|
|
Sleep 2
|
|
Click Element xpath=//harbor-app/harbor-shell/clr-main-container/div/div/harbor-user/div/div/h2
|
|
Click Element xpath=//harbor-app/harbor-shell/clr-main-container//harbor-user//clr-datagrid//clr-dg-action-overflow
|
|
Click Element xpath=//harbor-app/harbor-shell/clr-main-container//harbor-user//clr-datagrid//clr-dg-row//clr-dg-action-overflow//button[1]
|
|
Sleep 1
|
|
|
|
Switch to User Tag
|
|
Click Element xpath=${administration_user_tag_xpath}
|
|
Sleep 1
|
|
|
|
Administration Tag Should Display
|
|
Page Should Contain Element xpath=${administration_tag_xpath}
|