Commit db54fa49c6575ec8b81cf33464e1b0ac356d5685
1 parent
ec968608
Fix Complaint Cancellation Keyword by adding an appropriate status for openUA procedure
Showing
1 changed file
with
1 additions
and
2 deletions
@@ -794,7 +794,7 @@ Resource resource.robot | @@ -794,7 +794,7 @@ Resource resource.robot | ||
794 | 794 | ||
795 | Можливість скасувати вимогу про виправлення визначення ${award_index} переможця | 795 | Можливість скасувати вимогу про виправлення визначення ${award_index} переможця |
796 | ${cancellation_reason}= create_fake_sentence | 796 | ${cancellation_reason}= create_fake_sentence |
797 | - ${status}= Set variable if 'open' in '${MODE}' stopping cancelled | 797 | + ${status}= Set variable if "${USERS.users['${provider}'].tender_data.data.awards[${award_index}].complaints[-1].status}" == 'pending' and 'open' in '${MODE}' stopping cancelled |
798 | ${data}= Create Dictionary | 798 | ${data}= Create Dictionary |
799 | ... status=${status} | 799 | ... status=${status} |
800 | ... cancellationReason=${cancellation_reason} | 800 | ... cancellationReason=${cancellation_reason} |
@@ -807,7 +807,6 @@ Resource resource.robot | @@ -807,7 +807,6 @@ Resource resource.robot | ||
807 | ... ${cancellation_data} | 807 | ... ${cancellation_data} |
808 | ... ${award_index} | 808 | ... ${award_index} |
809 | Set To Dictionary ${USERS.users['${provider}'].claim_data} cancellation ${cancellation_data} | 809 | Set To Dictionary ${USERS.users['${provider}'].claim_data} cancellation ${cancellation_data} |
810 | - ${status}= Set variable if 'open' in '${MODE}' stopping cancelled | ||
811 | Wait until keyword succeeds | 810 | Wait until keyword succeeds |
812 | ... 5 min 15 sec | 811 | ... 5 min 15 sec |
813 | ... 15 sec | 812 | ... 15 sec |
Please
register
or
login
to post a comment