mirror of
https://github.com/goharbor/harbor.git
synced 2024-10-01 06:47:33 +02:00
Add debug info to automation test case (#6092)
Add "Capture Page Screenshot" to help debug the case failure Signed-off-by: Wenkai Yin <yinw@vmware.com>
This commit is contained in:
parent
c13a0bfaae
commit
96d260a379
@ -25,12 +25,14 @@ Delete Success
|
|||||||
:For ${obj} in @{obj}
|
:For ${obj} in @{obj}
|
||||||
\ Wait Until Page Contains Element //clr-tab-content//div[contains(.,'${obj}')]/../div/clr-icon[@shape="success-standard"]
|
\ Wait Until Page Contains Element //clr-tab-content//div[contains(.,'${obj}')]/../div/clr-icon[@shape="success-standard"]
|
||||||
Sleep 1
|
Sleep 1
|
||||||
|
Capture Page Screenshot
|
||||||
|
|
||||||
Delete Fail
|
Delete Fail
|
||||||
[Arguments] @{obj}
|
[Arguments] @{obj}
|
||||||
:For ${obj} in @{obj}
|
:For ${obj} in @{obj}
|
||||||
\ Wait Until Page Contains Element //clr-tab-content//div[contains(.,'${obj}')]/../div/clr-icon[@shape="error-standard"]
|
\ Wait Until Page Contains Element //clr-tab-content//div[contains(.,'${obj}')]/../div/clr-icon[@shape="error-standard"]
|
||||||
Sleep 1
|
Sleep 1
|
||||||
|
Capture Page Screenshot
|
||||||
|
|
||||||
Filter Object
|
Filter Object
|
||||||
#Filter project repo user tag.
|
#Filter project repo user tag.
|
||||||
@ -50,10 +52,13 @@ Multi-delete Object
|
|||||||
:For ${obj} in @{obj}
|
:For ${obj} in @{obj}
|
||||||
\ Click Element //clr-dg-row[contains(.,'${obj}')]//label
|
\ Click Element //clr-dg-row[contains(.,'${obj}')]//label
|
||||||
Sleep 1
|
Sleep 1
|
||||||
|
Capture Page Screenshot
|
||||||
Click Element //button[contains(.,'Delete')]
|
Click Element //button[contains(.,'Delete')]
|
||||||
Sleep 2
|
Sleep 2
|
||||||
|
Capture Page Screenshot
|
||||||
Click Element //clr-modal//button[contains(.,'DELETE')]
|
Click Element //clr-modal//button[contains(.,'DELETE')]
|
||||||
Sleep 3
|
Sleep 3
|
||||||
|
Capture Page Screenshot
|
||||||
|
|
||||||
Multi-delete User
|
Multi-delete User
|
||||||
[Arguments] @{obj}
|
[Arguments] @{obj}
|
||||||
|
Loading…
Reference in New Issue
Block a user