mirror of
https://github.com/goharbor/harbor
synced 2024-09-20 14:25:43 +00:00
Replication UI changes break upgrade pipeline
Remove duplicate keyword for editing replication rule. Signed-off-by: danfengliu <danfengl@vmware.com>
This commit is contained in:
parent
c93858cdbc
commit
8285db8def
|
@ -244,12 +244,6 @@ Select Rule And Replicate
|
||||||
Retry Element Click ${replication_exec_id}
|
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}
|
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
|
Delete Replication Rule
|
||||||
[Arguments] ${name}
|
[Arguments] ${name}
|
||||||
Retry Element Click ${endpoint_filter_search}
|
Retry Element Click ${endpoint_filter_search}
|
||||||
|
|
|
@ -336,8 +336,7 @@ Verify Replicationrule
|
||||||
Init Chrome Driver
|
Init Chrome Driver
|
||||||
Log To Console -----replicationrule-----"${replicationrule}"------------
|
Log To Console -----replicationrule-----"${replicationrule}"------------
|
||||||
Sign In Harbor ${HARBOR_URL} ${HARBOR_ADMIN} ${HARBOR_PASSWORD}
|
Sign In Harbor ${HARBOR_URL} ${HARBOR_ADMIN} ${HARBOR_PASSWORD}
|
||||||
Switch To Replication Manage
|
Edit Replication Rule By Name ${replicationrule}
|
||||||
Select Rule And Click Edit Button ${replicationrule}
|
|
||||||
@{is_src_registry}= Get Value From Json ${json} $.replicationrule[?(@.rulename=${replicationrule})].is_src_registry
|
@{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
|
@{trigger_type}= Get Value From Json ${json} $.replicationrule[?(@.rulename=${replicationrule})].trigger_type
|
||||||
@{name_filters}= Get Value From Json ${json} $.replicationrule[?(@.rulename=${replicationrule})].name_filters
|
@{name_filters}= Get Value From Json ${json} $.replicationrule[?(@.rulename=${replicationrule})].name_filters
|
||||||
|
|
Loading…
Reference in New Issue
Block a user