mirror of
https://github.com/goharbor/harbor.git
synced 2025-01-08 17:08:17 +01:00
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:
parent
41e290a17f
commit
eda6bbf8e6
@ -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
|
||||
|
@ -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')]
|
||||
|
Loading…
Reference in New Issue
Block a user