Add a checkpoint in the end of key word <Add Guest Member To Project>, to make sure that the confirm button was click successfully, to see if this confirm button was dissappered after clicked. (#7320)

Signed-off-by: danfengliu <danfengl@vmware.com>
This commit is contained in:
danfengliu 2019-04-09 13:41:56 +08:00 committed by GitHub
parent 77ed9a871f
commit 7c0273e5f9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 4 deletions

View File

@ -96,9 +96,7 @@ Add Guest Member To Project
#select guest
Mouse Down xpath=${project_member_guest_radio_checkbox}
Mouse Up xpath=${project_member_guest_radio_checkbox}
Retry Button Click xpath=${project_member_add_confirmation_ok_xpath}
Retry Wait Element xpath=${project_member_xpath}
Sleep 1
Retry Double Keywords When Error Retry Element Click xpath=${project_member_add_confirmation_ok_xpath} Retry Wait Until Page Not Contains Element xpath=${project_member_add_confirmation_ok_xpath}
Delete Project Member
[arguments] ${member}

View File

@ -176,7 +176,7 @@ Retry Keyword When Error
Retry Double Keywords When Error
[Arguments] ${keyword1} ${element1} ${keyword2} ${element2}
:For ${n} IN RANGE 1 6
\ Log To Console Trying Delete Repo ${n} times ...
\ Log To Console Trying ${keyword1} and ${keyword2} ${n} times ...
\ ${out1} Run Keyword And Ignore Error ${keyword1} ${element1}
\ Capture Page Screenshot
\ ${out2} Run Keyword And Ignore Error ${keyword2} ${element2}