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:
danfengliu 2019-02-25 10:48:04 +08:00 committed by GitHub
parent 4cb49e5388
commit c7d1e18477
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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}