mirror of
https://github.com/goharbor/harbor.git
synced 2024-12-23 00:57:44 +01:00
Fix robot keywords align with UI changes (#5036)
Fix robot keywords align with UI changes fix replication case for new delete progress
This commit is contained in:
parent
8f9e264407
commit
8d12960494
@ -275,4 +275,4 @@ Delete A Label
|
||||
Sleep 3
|
||||
Capture Page Screenshot
|
||||
Click Element xpath=//clr-modal//div//button[contains(.,'DELETE')]
|
||||
Wait Until Page Contains Element //clr-tab-content//div[contains(.,'${labelname}')]/../div/clr-icon[@shape="success-standard"
|
||||
Wait Until Page Contains Element //clr-tab-content//div[contains(.,'${labelname}')]/../div/clr-icon[@shape="success-standard"]
|
||||
|
@ -110,8 +110,6 @@ Delete Project Member
|
||||
Sleep 2
|
||||
Click Element xpath=//button[contains(.,'DELETE')]
|
||||
Sleep 2
|
||||
Click Element xpath=//button[contains(.,'CLOSE')]
|
||||
Sleep 1
|
||||
|
||||
User Should Be Owner Of Project
|
||||
[Arguments] ${user} ${pwd} ${project}
|
||||
|
@ -143,8 +143,9 @@ Trigger Replication Manual
|
||||
Click Element ${action_bar_replicate}
|
||||
Wait Until Page Contains Element ${dialog_replicate}
|
||||
Click Element ${dialog_replicate}
|
||||
Wait Until Page Contains successfully
|
||||
Click Element ${dialog_close}
|
||||
Sleep 2
|
||||
Page Should Contain Element //clr-tab-content//div[contains(.,'${rule}')]/../div/clr-icon[@shape="success-standard"]
|
||||
Sleep 1
|
||||
|
||||
Rename Rule
|
||||
[Arguments] ${rule} ${newname}
|
||||
@ -165,9 +166,7 @@ Delete Rule
|
||||
Click Element ${action_bar_delete}
|
||||
Wait Until Page Contains Element ${dialog_delete}
|
||||
Click Element ${dialog_delete}
|
||||
Wait Until Page Contains Element ${dialog_close}
|
||||
Sleep 2
|
||||
Click Element ${dialog_close}
|
||||
|
||||
Filter Rule
|
||||
[Arguments] ${rule}
|
||||
@ -212,6 +211,3 @@ Delete Endpoint
|
||||
Click Element ${action_bar_delete}
|
||||
Wait Until Page Contains Element ${dialog_delete}
|
||||
Click Element ${dialog_delete}
|
||||
Wait Until Page Contains success
|
||||
Click Element ${dialog_close}
|
||||
|
||||
|
@ -22,7 +22,7 @@ ${HARBOR_VERSION} v1.1.1
|
||||
*** Keywords ***
|
||||
Delete Success
|
||||
[Arguments] @{obj}
|
||||
:For ${obj} in @{obj}
|
||||
:For ${obj} in @{obj}
|
||||
\ Page Should Contain Element //clr-tab-content//div[contains(.,'${obj}')]/../div/clr-icon[@shape="success-standard"]
|
||||
Sleep 1
|
||||
|
||||
|
@ -68,7 +68,7 @@ Test Case - Endpoint Delete
|
||||
Sign In Harbor ${HARBOR_URL} ${HARBOR_ADMIN} ${HARBOR_PASSWORD}
|
||||
Switch To Registries
|
||||
Delete Endpoint deletea
|
||||
Wait Until Page Does Not Contain deletea
|
||||
Delete Success deletea
|
||||
Close Browser
|
||||
|
||||
Test Case - Rule Edit
|
||||
@ -90,7 +90,7 @@ Test Case - Rule Delete
|
||||
Sign In Harbor ${HARBOR_URL} ${HARBOR_ADMIN} ${HARBOR_PASSWORD}
|
||||
Switch To Replication Manage
|
||||
Delete Rule newname
|
||||
Wait Until Page Does Not Contain newname
|
||||
Delete Success newname
|
||||
Close Browser
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user