mirror of
https://github.com/goharbor/harbor.git
synced 2024-09-27 13:02:59 +02:00
Merge pull request #13235 from danfengliu/fix-issue-for-upgrade-pipeline
Replication UI changes break upgrade pipeline
This commit is contained in:
commit
6cdae44dc2
@ -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