diff --git a/tests/resources/Harbor-Pages/Replication.robot b/tests/resources/Harbor-Pages/Replication.robot index f9d32dffa..7aef0b6af 100644 --- a/tests/resources/Harbor-Pages/Replication.robot +++ b/tests/resources/Harbor-Pages/Replication.robot @@ -61,9 +61,9 @@ Select Filter Label Model Select Filter Label [Arguments] ${label} - Retry Element Click ${filter_label_xpath} + Retry Element Click ${filter_label_button} Retry Element Click //div[@class='filterSelect ng-star-inserted'][3]//label[contains(text(), '${label}')] - Retry Element Click ${filter_label_xpath} + Retry Element Click ${filter_label_button} Select Bandwidth Unit [Arguments] ${unit} diff --git a/tests/resources/Harbor-Pages/Replication_Elements.robot b/tests/resources/Harbor-Pages/Replication_Elements.robot index 5d359b696..4144f396a 100644 --- a/tests/resources/Harbor-Pages/Replication_Elements.robot +++ b/tests/resources/Harbor-Pages/Replication_Elements.robot @@ -64,7 +64,7 @@ ${replication_mode_radio_pull} //clr-main-container//hbr-create-edit-rule//labe ${filter_name_id} //input[@id='filter_name'] ${filter_tag_model_select} //div[@class='filterSelect ng-star-inserted'][2]//select ${filter_tag_id} //input[@id='filter_tag'] -${filter_label_xpath} //div//clr-dropdown//div[contains(@class,'label-text')] +${filter_label_button} //div[@class='filterSelect ng-star-inserted'][3]//button ${filter_label_model_select} //div[@class='filterSelect ng-star-inserted'][3]//select ${rule_resource_selector} //*[@id='select_resource'] ${trigger_mode_selector} //*[@id='ruleTrigger']