From 981743ada955b6f1225e3a275ffc7f74815181cd Mon Sep 17 00:00:00 2001 From: sigsbee <23101283+sigsbee@users.noreply.github.com> Date: Mon, 7 May 2018 18:30:08 +0800 Subject: [PATCH] Fix nightly failures bases on latest UI change (#4870) Fix up project level policy public Change text to fix up pro replication rules add --- tests/resources/Harbor-Pages/Replication_Elements.robot | 2 +- tests/robot-cases/Group11-Nightly/Nightly.robot | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/resources/Harbor-Pages/Replication_Elements.robot b/tests/resources/Harbor-Pages/Replication_Elements.robot index 4eb0bc449..35c49a5b3 100644 --- a/tests/resources/Harbor-Pages/Replication_Elements.robot +++ b/tests/resources/Harbor-Pages/Replication_Elements.robot @@ -30,7 +30,7 @@ ${replication_xpath} //clr-vertical-nav-group-children/a[contains(.,'Replicatio ${destination_insecure_xpath} //clr-checkbox[@id="destination_insecure"]//label ${new_replication-rule_button} //button[contains(.,'New Replication Rule')] -${link_to_registries} //clr-modal//span[contains(.,'Registries')] +${link_to_registries} //clr-modal//span[contains(.,'Endpoint')] ${new_endpoint_button} //hbr-endpoint//button[contains(.,'New')] ${rule_name} //input[@id='ruleName'] ${source_project} //input[@value='name'] diff --git a/tests/robot-cases/Group11-Nightly/Nightly.robot b/tests/robot-cases/Group11-Nightly/Nightly.robot index 4c6046c73..67279823d 100644 --- a/tests/robot-cases/Group11-Nightly/Nightly.robot +++ b/tests/robot-cases/Group11-Nightly/Nightly.robot @@ -217,7 +217,6 @@ Test Case - Project Level Policy Public Save Project Config # Verify Public Should Be Selected - Back To Projects # Project${d} default should be private # Here logout and login to try avoid a bug only in autotest Logout Harbor