mirror of
https://github.com/goharbor/harbor.git
synced 2024-12-23 00:57:44 +01:00
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:
parent
d7a4c8aece
commit
a0bf7196e6
@ -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]
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user