mirror of
https://github.com/goharbor/harbor.git
synced 2025-01-09 01:17:43 +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
|
Sleep 3
|
||||||
Capture Page Screenshot
|
Capture Page Screenshot
|
||||||
Click Element xpath=//clr-modal//div//button[contains(.,'DELETE')]
|
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
|
Sleep 2
|
||||||
Click Element xpath=//button[contains(.,'DELETE')]
|
Click Element xpath=//button[contains(.,'DELETE')]
|
||||||
Sleep 2
|
Sleep 2
|
||||||
Click Element xpath=//button[contains(.,'CLOSE')]
|
|
||||||
Sleep 1
|
|
||||||
|
|
||||||
User Should Be Owner Of Project
|
User Should Be Owner Of Project
|
||||||
[Arguments] ${user} ${pwd} ${project}
|
[Arguments] ${user} ${pwd} ${project}
|
||||||
|
@ -143,8 +143,9 @@ Trigger Replication Manual
|
|||||||
Click Element ${action_bar_replicate}
|
Click Element ${action_bar_replicate}
|
||||||
Wait Until Page Contains Element ${dialog_replicate}
|
Wait Until Page Contains Element ${dialog_replicate}
|
||||||
Click Element ${dialog_replicate}
|
Click Element ${dialog_replicate}
|
||||||
Wait Until Page Contains successfully
|
Sleep 2
|
||||||
Click Element ${dialog_close}
|
Page Should Contain Element //clr-tab-content//div[contains(.,'${rule}')]/../div/clr-icon[@shape="success-standard"]
|
||||||
|
Sleep 1
|
||||||
|
|
||||||
Rename Rule
|
Rename Rule
|
||||||
[Arguments] ${rule} ${newname}
|
[Arguments] ${rule} ${newname}
|
||||||
@ -165,9 +166,7 @@ Delete Rule
|
|||||||
Click Element ${action_bar_delete}
|
Click Element ${action_bar_delete}
|
||||||
Wait Until Page Contains Element ${dialog_delete}
|
Wait Until Page Contains Element ${dialog_delete}
|
||||||
Click Element ${dialog_delete}
|
Click Element ${dialog_delete}
|
||||||
Wait Until Page Contains Element ${dialog_close}
|
|
||||||
Sleep 2
|
Sleep 2
|
||||||
Click Element ${dialog_close}
|
|
||||||
|
|
||||||
Filter Rule
|
Filter Rule
|
||||||
[Arguments] ${rule}
|
[Arguments] ${rule}
|
||||||
@ -212,6 +211,3 @@ Delete Endpoint
|
|||||||
Click Element ${action_bar_delete}
|
Click Element ${action_bar_delete}
|
||||||
Wait Until Page Contains Element ${dialog_delete}
|
Wait Until Page Contains Element ${dialog_delete}
|
||||||
Click 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 ***
|
*** Keywords ***
|
||||||
Delete Success
|
Delete Success
|
||||||
[Arguments] @{obj}
|
[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"]
|
\ Page Should Contain Element //clr-tab-content//div[contains(.,'${obj}')]/../div/clr-icon[@shape="success-standard"]
|
||||||
Sleep 1
|
Sleep 1
|
||||||
|
|
||||||
|
@ -68,7 +68,7 @@ Test Case - Endpoint Delete
|
|||||||
Sign In Harbor ${HARBOR_URL} ${HARBOR_ADMIN} ${HARBOR_PASSWORD}
|
Sign In Harbor ${HARBOR_URL} ${HARBOR_ADMIN} ${HARBOR_PASSWORD}
|
||||||
Switch To Registries
|
Switch To Registries
|
||||||
Delete Endpoint deletea
|
Delete Endpoint deletea
|
||||||
Wait Until Page Does Not Contain deletea
|
Delete Success deletea
|
||||||
Close Browser
|
Close Browser
|
||||||
|
|
||||||
Test Case - Rule Edit
|
Test Case - Rule Edit
|
||||||
@ -90,7 +90,7 @@ Test Case - Rule Delete
|
|||||||
Sign In Harbor ${HARBOR_URL} ${HARBOR_ADMIN} ${HARBOR_PASSWORD}
|
Sign In Harbor ${HARBOR_URL} ${HARBOR_ADMIN} ${HARBOR_PASSWORD}
|
||||||
Switch To Replication Manage
|
Switch To Replication Manage
|
||||||
Delete Rule newname
|
Delete Rule newname
|
||||||
Wait Until Page Does Not Contain newname
|
Delete Success newname
|
||||||
Close Browser
|
Close Browser
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user