From 70a40b87a8370d71c8ae645161e92c54da492ce3 Mon Sep 17 00:00:00 2001 From: "Danfeng Liu (c)" Date: Wed, 18 Dec 2019 13:48:05 +0800 Subject: [PATCH] Use repository filter in the list above Nigthly test case failures always caused by filter issue, as Shijun adviced, it's better to use repository filter in the list above. Signed-off-by: Danfeng Liu (c) --- tests/resources/Harbor-Pages/Project_Elements.robot | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/resources/Harbor-Pages/Project_Elements.robot b/tests/resources/Harbor-Pages/Project_Elements.robot index 176979f49..7747846f5 100644 --- a/tests/resources/Harbor-Pages/Project_Elements.robot +++ b/tests/resources/Harbor-Pages/Project_Elements.robot @@ -41,11 +41,11 @@ ${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_search_icon} xpath=//hbr-filter//clr-icon +${repo_search_input} xpath=//hbr-filter//input ${repo_list_spinner} xpath=//clr-datagrid//clr-spinner -${repo_search_icon} xpath=//hbr-repository-gridview//clr-datagrid//clr-dg-column[contains(.,'Name')]//clr-dg-string-filter//button//clr-icon -${repo_search_input} xpath=//div[@class[contains(.,'datagrid-filter')]]//input +#${repo_search_icon} xpath=//hbr-repository-gridview//clr-datagrid//clr-dg-column[contains(.,'Name')]//clr-dg-string-filter//button//clr-icon +#${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_tag} xpath=//clr-dg-column//span[contains(.,'Tag')]