mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-22 18:25:56 +01:00
Modify sign-up button xpath from relative html path to id, and modify script.
Signed-off-by: Danfeng Liu (c) <danfengl@vmware.com>
This commit is contained in:
parent
63373c8ef9
commit
cca1fab069
@ -7,6 +7,6 @@
|
||||
<div class="modal-footer">
|
||||
<span class="spinner spinner-inline loading-top" [hidden]="inProgress === false"> </span>
|
||||
<button type="button" class="btn btn-outline" (click)="close()">{{'BUTTON.CANCEL' | translate}}</button>
|
||||
<button type="button" class="btn btn-primary" [disabled]="!isValid || inProgress" (click)="create()">{{ 'BUTTON.SIGN_UP' | translate }}</button>
|
||||
<button id="sign-up" type="button" class="btn btn-primary" [disabled]="!isValid || inProgress" (click)="create()">{{ 'BUTTON.SIGN_UP' | translate }}</button>
|
||||
</div>
|
||||
</clr-modal>
|
@ -24,12 +24,10 @@ ${realname_xpath} //*[@id='realname']
|
||||
${newPassword_xpath} //*[@id='newPassword']
|
||||
${confirmPassword_xpath} //*[@id='confirmPassword']
|
||||
${comment_xpath} //*[@id='comment']
|
||||
${signup_xpath} //clr-modal/div/div[1]/div/div/div[3]/button[2]
|
||||
|
||||
${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} id=log_in
|
||||
${harbor_span_title} xpath=//span[contains(., 'Harbor')]
|
||||
${login_name} id=login_username
|
||||
${login_pwd} id=login_password
|
||||
${signup_xpath} //*[@id='sign-up']
|
||||
${search_input} //*[@id='search_input']
|
||||
${login_btn} //*[@id='log_in']
|
||||
${harbor_span_title} //span[contains(., 'Harbor')]
|
||||
${login_name} //*[@id='login_username']
|
||||
${login_pwd} //*[@id='login_password']
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user