diff --git a/tests/resources/Harbor-Pages/Replication.robot b/tests/resources/Harbor-Pages/Replication.robot index d679dfb98..9c35509a0 100644 --- a/tests/resources/Harbor-Pages/Replication.robot +++ b/tests/resources/Harbor-Pages/Replication.robot @@ -244,12 +244,6 @@ Select Rule And Replicate Retry Element Click ${replication_exec_id} Retry Double Keywords When Error Retry Element Click xpath=${dialog_replicate} Retry Wait Until Page Not Contains Element xpath=${dialog_replicate} -Select Rule And Click Edit Button - [Arguments] ${rule_name} - Retry Element Click //clr-dg-row[contains(.,'${rule_name}')]//clr-radio-wrapper/label - Retry Element Click ${replication_action} - Retry Element Click ${edit_replication_rule_id} - Delete Replication Rule [Arguments] ${name} Retry Element Click ${endpoint_filter_search} diff --git a/tests/resources/Harbor-Pages/Verify.robot b/tests/resources/Harbor-Pages/Verify.robot index bc7951df9..b741c360a 100644 --- a/tests/resources/Harbor-Pages/Verify.robot +++ b/tests/resources/Harbor-Pages/Verify.robot @@ -336,8 +336,7 @@ Verify Replicationrule Init Chrome Driver Log To Console -----replicationrule-----"${replicationrule}"------------ Sign In Harbor ${HARBOR_URL} ${HARBOR_ADMIN} ${HARBOR_PASSWORD} - Switch To Replication Manage - Select Rule And Click Edit Button ${replicationrule} + Edit Replication Rule By Name ${replicationrule} @{is_src_registry}= Get Value From Json ${json} $.replicationrule[?(@.rulename=${replicationrule})].is_src_registry @{trigger_type}= Get Value From Json ${json} $.replicationrule[?(@.rulename=${replicationrule})].trigger_type @{name_filters}= Get Value From Json ${json} $.replicationrule[?(@.rulename=${replicationrule})].name_filters