Update project detail xpath (#4482)

This commit is contained in:
sigsbee 2018-03-26 16:27:07 +08:00 committed by GitHub
parent 203b1b52bb
commit 0c95bd6ffa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 3 deletions

View File

@ -44,11 +44,11 @@ Create An New Project With New User
#It's the log of project.
Go To Project Log
Click Element xpath=//project-detail//ul/li[3]
Click Element xpath=${project_log_xpath}
Sleep 2
Switch To Member
Click Element xpath=//project-detail//li[2]
Click Element xpath=${project_member_xpath}
Sleep 1
Switch To Log

View File

@ -22,4 +22,6 @@ ${project_public_xpath} //input[@name='public']/..//label
${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
${log_xpath} //clr-main-container/div/clr-vertical-nav/div/a[contains(.,'Logs')]
${projects_xpath} //clr-main-container/div/clr-vertical-nav/div/a[contains(.,'Projects')]
${project_replication_xpath} //project-detail//a[contains(.,'Replication')]
${project_replication_xpath} //project-detail//a[contains(.,'Replication')]
${project_log_xpath} //project-detail//li[contains(.,'Logs')]
${project_member_xpath} //project-detail//li[contains(.,'Members')]