Fix label test case and replicate case (#5075)

Fix label test case fail for new UI change
Fix replicate manual keyword to avoid case fail
This commit is contained in:
sigsbee 2018-06-02 01:34:33 +08:00 committed by Yan
parent d7a4c8aece
commit a0bf7196e6
2 changed files with 3 additions and 5 deletions

View File

@ -244,11 +244,9 @@ Create New Labels
Sleep 1
Input Text xpath=//*[@id="name"] ${labelname}
Sleep 1
Click Element xpath=//hbr-create-edit-label//div[@class='colorDrop']//clr-icon
Click Element xpath=//hbr-create-edit-label//clr-dropdown/button/clr-icon
Sleep 1
Click Element xpath=//hbr-create-edit-label//div[@class='colorDrop']//div[@class='colorPanel']//span[1]
Sleep 1
Click Element //hbr-create-edit-label//div[@class='colorDrop']//div[@class='colorPanel']/a[@class='closePanel']
Click Element xpath=//hbr-create-edit-label//clr-dropdown-menu/label[1]
Sleep 1
Input Text xpath=//*[@id="description"] global
Click Element xpath=//div/form/section/label[4]/button[2]

View File

@ -144,7 +144,7 @@ Trigger Replication Manual
Wait Until Page Contains Element ${dialog_replicate}
Click Element ${dialog_replicate}
Sleep 2
Page Should Contain Element //clr-tab-content//div[contains(.,'${rule}')]/../div/clr-icon[@shape="success-standard"]
Wait Until Page Contains Element //clr-tab-content//div[contains(.,'${rule}')]/../div/clr-icon[@shape="success-standard"]
Sleep 1
Rename Rule