mirror of
https://github.com/goharbor/harbor.git
synced 2024-12-24 17:47:46 +01:00
Update header user xpath
Update it because #16796 modifies header user. Signed-off-by: Yang Jiao <jiaoya@vmware.com>
This commit is contained in:
parent
b356d58253
commit
9b154e700c
@ -30,7 +30,7 @@ ${login_btn} //*[@id='log_in']
|
||||
${harbor_span_title} //span[contains(., 'Harbor')]
|
||||
${login_name} //*[@id='login_username']
|
||||
${login_pwd} //*[@id='login_password']
|
||||
${header_user} //harbor-app/harbor-shell/clr-main-container/navigator/clr-header//clr-dropdown[2]//button/span
|
||||
${header_user} //clr-dropdown//button[@class='nav-text dropdown-toggle']//span
|
||||
${about_btn} //clr-dropdown-menu/a[contains(.,'About')]
|
||||
${header} xpath=//clr-header[contains(@class,'header-5')]
|
||||
${color_theme_light} //span[contains(.,'LIGHT')]
|
||||
|
@ -16,7 +16,7 @@
|
||||
Documentation This resource provides any keywords related to the Harbor private registry appliance
|
||||
|
||||
*** Variables ***
|
||||
${head_admin_xpath} xpath=/html/body/harbor-app/harbor-shell/clr-main-container/navigator/clr-header/div[3]/clr-dropdown[2]/button/span
|
||||
${head_admin_xpath} xpath=//clr-dropdown//button//clr-icon[@shape='user']
|
||||
${change_password_xpath} xpath=//clr-main-container//clr-dropdown//a[2]
|
||||
${user_profile_xpath} xpath=//clr-main-container//clr-dropdown//a[1]
|
||||
${old_password_xpath} xpath=//*[@id='oldPassword']
|
||||
|
Loading…
Reference in New Issue
Block a user