2021-04-08 09:32:31 +02:00
|
|
|
# Copyright Project Harbor Authors
|
|
|
|
#
|
|
|
|
# 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
|
|
|
|
|
|
|
|
*** Variables ***
|
2022-07-29 13:04:01 +02:00
|
|
|
${artifact_action_xpath} //*[@id='artifact-list-action']
|
2021-04-08 09:32:31 +02:00
|
|
|
${artifact_action_delete_xpath} //clr-dropdown-menu//div[contains(.,'Delete')]
|
|
|
|
${artifact_action_copy_xpath} //clr-dropdown-menu//div[contains(.,'Copy') and @aria-label='retag']
|
|
|
|
${artifact_achieve_icon} //artifact-list-tab//clr-datagrid//clr-dg-row[contains(.,'sha256')]//clr-dg-cell[1]//clr-tooltip//a
|
|
|
|
${artifact_rows} //artifact-list-tab//clr-datagrid//clr-dg-row[contains(.,'sha256')]
|
|
|
|
${archive_rows} //artifact-list-tab//clr-datagrid//clr-dg-row[contains(.,'sha256')]//clr-dg-cell[1]//clr-tooltip//a
|
2022-01-17 08:40:49 +01:00
|
|
|
${artifact_list_refresh_btn} //artifact-list-tab//div//span[@class='refresh-btn']
|
2021-04-08 09:32:31 +02:00
|
|
|
|
|
|
|
${artifact_list_spinner} xpath=//clr-datagrid//clr-spinner
|
|
|
|
${artifact_tag_component} xpath=//artifact-tag
|
|
|
|
${add_tag_button} xpath=//*[@id='new-tag']
|
|
|
|
${tag_name_xpath} xpath=//*[@id='name']
|
|
|
|
${add_ok_button} xpath=//*[@id='add-ok']
|
|
|
|
${delete_tag_button} xpath=//*[@id='delete-tag']
|
|
|
|
${dialog_delete_button} xpath=//clr-modal//button[contains(.,'DELETE')]
|