From 95ddf6d9b3d2dfe5eb202604789c662491853d9c Mon Sep 17 00:00:00 2001 From: danfengliu Date: Tue, 24 Dec 2019 16:39:37 +0800 Subject: [PATCH] Refect keyword of Go Into Reop Signed-off-by: danfengliu --- tests/resources/Harbor-Pages/Project.robot | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/tests/resources/Harbor-Pages/Project.robot b/tests/resources/Harbor-Pages/Project.robot index 23419ffed..047e175cd 100644 --- a/tests/resources/Harbor-Pages/Project.robot +++ b/tests/resources/Harbor-Pages/Project.robot @@ -186,7 +186,13 @@ Go Into Repo Retry Wait Until Page Not Contains Element ${repo_list_spinner} ${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} + :For ${n} IN RANGE 1 10 + \ Retry Clear Element Text ${repo_search_input} + \ Retry Text Input ${repo_search_input} ${repoName} + \ ${out} Run Keyword And Ignore Error Retry Wait Until Page Contains Element ${repo_name_element} + \ Exit For Loop If '${out[0]}'=='PASS' + \ 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}