From c91334397a102987715f4714d078cae4e207ee9a Mon Sep 17 00:00:00 2001 From: sigsbee <23101283+sigsbee@users.noreply.github.com> Date: Fri, 27 Apr 2018 17:14:44 +0800 Subject: [PATCH] Fix up keyword add label (#4794) Fixup create new labels keyword to fix failed testcase --- tests/resources/Harbor-Pages/Configuration.robot | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tests/resources/Harbor-Pages/Configuration.robot b/tests/resources/Harbor-Pages/Configuration.robot index 4dc03e8ef..450966909 100644 --- a/tests/resources/Harbor-Pages/Configuration.robot +++ b/tests/resources/Harbor-Pages/Configuration.robot @@ -244,9 +244,11 @@ Create New Labels Sleep 1 Input Text xpath=//*[@id="name"] ${labelname} Sleep 1 - Click Element xpath=//div/form/section//clr-dropdown/button + Click Element xpath=//hbr-create-edit-label//div[@class='colorDrop']//clr-icon Sleep 1 - Click Element xpath=//div/form/section//clr-dropdown/clr-dropdown-menu/label[1] + Click Element xpath=//hbr-create-edit-label//div[@class='colorDrop']//div[@class='colorPanel']//label[1] + Sleep 1 + Click Element //hbr-create-edit-label//div[@class='colorDrop']//div[@class='colorPanel']/a[@class='closePanel'] Sleep 1 Input Text xpath=//*[@id="description"] global Click Element xpath=//div/form/section/label[4]/button[2]