2018-09-19 18:57:15 +02:00
|
|
|
# Copyright Project Harbor Authors
|
2017-08-07 08:02:38 +02:00
|
|
|
#
|
|
|
|
# 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 ***
|
2019-01-28 09:32:45 +01:00
|
|
|
${create_project_button_xpath} //clr-main-container//button[contains(., 'New Project')]
|
2019-01-30 07:22:31 +01:00
|
|
|
${project_name_xpath} //*[@id='create_project_name']
|
2017-12-21 04:00:12 +01:00
|
|
|
${project_public_xpath} //input[@name='public']/..//label
|
2017-08-07 08:02:38 +02:00
|
|
|
${project_save_css} html body.no-scrolling harbor-app harbor-shell clr-main-container.main-container div.content-container div.content-area.content-area-override project div.row div.col-lg-12.col-md-12.col-sm-12.col-xs-12 div.row.flex-items-xs-between div.option-left create-project clr-modal div.modal div.modal-dialog div.modal-content div.modal-footer button.btn.btn-primary
|
2019-01-07 09:51:31 +01:00
|
|
|
${log_xpath} //clr-main-container//clr-vertical-nav//a[contains(.,'Logs')]
|
|
|
|
${projects_xpath} //clr-main-container//clr-vertical-nav//a[contains(.,'Projects')]
|
2018-03-26 10:27:07 +02:00
|
|
|
${project_replication_xpath} //project-detail//a[contains(.,'Replication')]
|
|
|
|
${project_log_xpath} //project-detail//li[contains(.,'Logs')]
|
|
|
|
${project_member_xpath} //project-detail//li[contains(.,'Members')]
|
2019-01-28 09:32:45 +01:00
|
|
|
|
|
|
|
${create_project_OK_button_xpath} xpath=//button[contains(.,'OK')]
|
|
|
|
${create_project_CANCEL_button_xpath} xpath=//button[contains(.,'CANCEL')]
|
|
|
|
${project_statistics_private_repository_icon} xpath=//project/div/div/div[1]/div/statistics-panel/div/div[2]/div[1]/div[2]/div[2]/statistics/div/span[1]
|
2019-01-30 07:22:31 +01:00
|
|
|
${repo_delete_btn} xpath=//button[contains(.,'Delete')]
|
|
|
|
${repo_delete_confirm_btn} xpath=//clr-modal//button[2]
|