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. #It's the log of project.
Go To Project Log Go To Project Log
Click Element xpath=//project-detail//ul/li[3] Click Element xpath=${project_log_xpath}
Sleep 2 Sleep 2
Switch To Member Switch To Member
Click Element xpath=//project-detail//li[2] Click Element xpath=${project_member_xpath}
Sleep 1 Sleep 1
Switch To Log Switch To Log

View File

@ -23,3 +23,5 @@ ${project_save_css} html body.no-scrolling harbor-app harbor-shell clr-main-con
${log_xpath} //clr-main-container/div/clr-vertical-nav/div/a[contains(.,'Logs')] ${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')] ${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')]