add checkpoint for keyword Go Into Repo to make sure the tag in repository shown up completly. (#7142)

Signed-off-by: danfengliu <danfengl@vmware.com>
This commit is contained in:
danfengliu 2019-03-14 18:38:08 +08:00 committed by Yan
parent 41e290a17f
commit eda6bbf8e6
2 changed files with 13 additions and 8 deletions

View File

@ -197,14 +197,13 @@ Do Log Advanced Search
Go Into Repo
[Arguments] ${repoName}
Sleep 2
Click Element xpath=//hbr-filter//clr-icon
Sleep 2
Input Text xpath=//hbr-filter//input ${repoName}
Sleep 3
Wait Until Page Contains ${repoName}
Click Element xpath=//clr-dg-cell[contains(.,${repoName})]/a
Sleep 2
${repo_name_element}= Set Variable xpath=//clr-dg-cell[contains(.,'${repoName}')]/a
Retry Element Click ${repo_search_icon}
Retry Text Input ${repo_search_input} ${repoName}
Retry Element Click ${repo_name_element}
Retry Wait Element ${tag_table_column_signed}
Retry Wait Element ${tag_table_column_vulnerability}
Retry Wait Element ${tag_images_btn}
Capture Page Screenshot gointo_${repoName}.png
Switch To CardView

View File

@ -38,3 +38,9 @@ ${repo_delete_btn} xpath=//repository//button[contains(.,'Delete')]
${project_delete_btn} xpath=//list-project//clr-datagrid//button[contains(.,'Delete')]
${tag_delete_btn} xpath=//tag-repository//clr-datagrid//button[contains(.,'Delete')]
${user_delete_btn} xpath=/clr-dropdown-menu//button[contains(.,'Delete')]
${repo_search_icon} xpath=//hbr-filter//clr-icon
${repo_search_input} xpath=//hbr-filter//input
${repo_tag_1st_checkbox} xpath=//clr-datagrid//clr-dg-row//clr-checkbox-wrapper
${tag_table_column_signed} xpath=//clr-dg-column//span[contains(.,'Signed')]
${tag_table_column_vulnerability} xpath=//clr-dg-column//span[contains(.,'Vulnerability')]
${tag_images_btn} xpath=//hbr-repository//button[contains(.,'Images')]