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 ***
|
|
|
|
${sign_up_for_an_account_xpath} /html/body/harbor-app/harbor-shell/clr-main-container/div/div/sign-in/div/form/div[1]/a
|
2019-01-30 07:22:31 +01:00
|
|
|
${sign_up_button_xpath} //a[@class='signup']
|
|
|
|
${username_xpath} //*[@id='username']
|
|
|
|
${email_xpath} //*[@id='email']
|
|
|
|
${realname_xpath} //*[@id='realname']
|
|
|
|
${newPassword_xpath} //*[@id='newPassword']
|
|
|
|
${confirmPassword_xpath} //*[@id='confirmPassword']
|
|
|
|
${comment_xpath} //*[@id='comment']
|
2018-12-29 10:01:43 +01:00
|
|
|
${signup_xpath} //clr-modal/div/div[1]/div/div/div[3]/button[2]
|
|
|
|
|
2018-12-25 08:44:44 +01:00
|
|
|
${signup_xpath} /html/body/harbor-app/harbor-shell/clr-main-container/div/div/sign-in/sign-up/clr-modal/div/div[1]/div/div[1]/div/div[3]/button[2]
|
|
|
|
${search_input} xpath=//*[@id='search_input']
|
|
|
|
${login_btn} css=.btn
|
|
|
|
${harbor_span_title} xpath=//span[contains(., 'Harbor')]
|
|
|
|
${login_name} id=login_username
|
|
|
|
${login_pwd} id=login_password
|
2017-08-07 08:02:38 +02:00
|
|
|
|