From fedfae71ff55342c37d40f73339151cc465074d1 Mon Sep 17 00:00:00 2001 From: danfengliu Date: Thu, 19 Mar 2020 17:09:16 +0800 Subject: [PATCH] Modify Nightly popular Keyword Go-Into-Repo Signed-off-by: danfengliu --- tests/resources/Harbor-Pages/Project.robot | 4 ++-- tests/resources/Harbor-Pages/Project_Elements.robot | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/resources/Harbor-Pages/Project.robot b/tests/resources/Harbor-Pages/Project.robot index 80e2b0664..04586163f 100644 --- a/tests/resources/Harbor-Pages/Project.robot +++ b/tests/resources/Harbor-Pages/Project.robot @@ -205,8 +205,8 @@ Go Into Repo \ Capture Page Screenshot gointo_${repoName}.png \ Sleep 2 Retry Double Keywords When Error Retry Element Click ${repo_name_element} Retry Wait Until Page Not Contains Element ${repo_name_element} - Retry Wait Element ${tag_table_column_pull_command} - Retry Wait Element ${tag_images_btn} + Retry Wait Element ${tag_table_column_vulnerabilities} + Retry Wait Element ${tag_table_column_size} Capture Page Screenshot gointo_${repoName}.png Switch To CardView diff --git a/tests/resources/Harbor-Pages/Project_Elements.robot b/tests/resources/Harbor-Pages/Project_Elements.robot index 991c3d1a1..c41df7ffd 100644 --- a/tests/resources/Harbor-Pages/Project_Elements.robot +++ b/tests/resources/Harbor-Pages/Project_Elements.robot @@ -50,6 +50,7 @@ ${repo_list_spinner} xpath=//clr-datagrid//clr-spinner #${repo_search_input} xpath=//div[@class[contains(.,'datagrid-filter')]]//input ${repo_tag_1st_checkbox} xpath=//clr-datagrid//clr-dg-row//clr-checkbox-wrapper ${tag_table_column_pull_command} xpath=//clr-dg-column//span[contains(.,'Pull Command')] +${tag_table_column_vulnerabilities} xpath=//clr-dg-column//span[contains(.,'Vulnerabilities')] ${tag_table_column_tag} xpath=//clr-dg-column//span[contains(.,'Tag')] ${tag_table_column_size} xpath=//clr-dg-column//span[contains(.,'Size')] ${tag_table_column_vulnerability} xpath=//clr-dg-column//span[contains(.,'Vulnerability')]