mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-23 02:35:17 +01:00
In Nightly-CI keyword <Delete Repo> failed on the rare occasion. The appearance is that the repo check-box is not checked, although Click action keyword returned success, it effected the following actions. (#7003)
For now, add a sleep to make it a try, and also add Capture Page Screenshot for debugging. Signed-off-by: danfengliu <danfengl@vmware.com>
This commit is contained in:
parent
4cb49e5388
commit
c7d1e18477
@ -112,6 +112,9 @@ Delete Repo
|
||||
[Arguments] ${projectname}
|
||||
${element_repo_checkbox}= Set Variable xpath=//clr-dg-row[contains(.,'${projectname}')]//clr-checkbox-wrapper//label
|
||||
Retry Element Click ${element_repo_checkbox}
|
||||
Capture Page Screenshot
|
||||
Sleep 2
|
||||
Capture Page Screenshot
|
||||
Retry Element Click ${repo_delete_btn}
|
||||
Retry Element Click ${repo_delete_confirm_btn}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user